* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/cwbtools.Rcheck’ * using R Under development (unstable) (2024-04-05 r86344) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-13 (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Fedora Linux 36 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘cwbtools/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘cwbtools’ version ‘0.4.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: ‘quanteda’ * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘cwbtools’ can be installed ... [21s/26s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [27s/28s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘cwbtools-Ex.R’ failed The error most likely occurred in: > ### Name: encode > ### Title: Encode CWB Corpus. > ### Aliases: encode encode,data.frame-method > > ### ** Examples > > library(dplyr) Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > library(tidytext) Error in library(tidytext) : there is no package called ‘tidytext’ Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cwbtools) > > test_check("cwbtools") ── Install corpus ────────────────────────────────────────────────────────────── . ── Download resource from Zenodo ─────────────────────────────────────────────── [0%] Downloaded 1398 bytes... [0%] Downloaded 5494 bytes... [1%] Downloaded 13686 bytes... [1%] Downloaded 16482 bytes... [1%] Downloaded 17880 bytes... [1%] Downloaded 22074 bytes... [2%] Downloaded 38458 bytes... [3%] Downloaded 40248 bytes... [3%] Downloaded 43044 bytes... [3%] Downloaded 45840 bytes... [3%] Downloaded 48636 bytes... [3%] Downloaded 51432 bytes... [4%] Downloaded 54228 bytes... [4%] Downloaded 57024 bytes... [4%] Downloaded 59820 bytes... [5%] Downloaded 68208 bytes... [5%] Downloaded 73800 bytes... [5%] Downloaded 76596 bytes... [6%] Downloaded 79392 bytes... [6%] Downloaded 87890 bytes... [6%] Downloaded 90686 bytes... [7%] Downloaded 92084 bytes... [7%] Downloaded 94880 bytes... [7%] Downloaded 97676 bytes... [8%] Downloaded 108860 bytes... [9%] Downloaded 118646 bytes... [9%] Downloaded 125820 bytes... [9%] Downloaded 127218 bytes... [9%] Downloaded 128616 bytes... [9%] Downloaded 129916 bytes... [10%] Downloaded 132712 bytes... [10%] Downloaded 138108 bytes... [10%] Downloaded 140904 bytes... [11%] Downloaded 155178 bytes... [12%] Downloaded 159274 bytes... [12%] Downloaded 167466 bytes... [13%] Downloaded 178650 bytes... [14%] Downloaded 188730 bytes... [14%] Downloaded 191526 bytes... [14%] Downloaded 192826 bytes... [14%] Downloaded 195622 bytes... [15%] Downloaded 201018 bytes... [15%] Downloaded 209700 bytes... [16%] Downloaded 217892 bytes... [16%] Downloaded 219290 bytes... [17%] Downloaded 223680 bytes... [17%] Downloaded 226476 bytes... [17%] Downloaded 227776 bytes... [17%] Downloaded 229174 bytes... [17%] Downloaded 231872 bytes... [17%] Downloaded 234668 bytes... [18%] Downloaded 239058 bytes... [18%] Downloaded 241854 bytes... [18%] Downloaded 243154 bytes... [18%] Downloaded 247348 bytes... [19%] Downloaded 251346 bytes... [19%] Downloaded 255834 bytes... [19%] Downloaded 259930 bytes... [19%] Downloaded 262726 bytes... [20%] Downloaded 264124 bytes... [20%] Downloaded 268122 bytes... [20%] Downloaded 271212 bytes... [20%] Downloaded 274008 bytes... [20%] Downloaded 275308 bytes... [21%] Downloaded 276706 bytes... [21%] Downloaded 283500 bytes... [22%] Downloaded 289386 bytes... [22%] Downloaded 290784 bytes... [22%] Downloaded 293482 bytes... [22%] Downloaded 301674 bytes... [23%] Downloaded 303366 bytes... [23%] Downloaded 307462 bytes... [23%] Downloaded 310258 bytes... [24%] Downloaded 326642 bytes... [25%] Downloaded 340182 bytes... [25%] Downloaded 340230 bytes... [27%] Downloaded 356614 bytes... [28%] Downloaded 372328 bytes... [29%] Downloaded 387246 bytes... [30%] Downloaded 403630 bytes... [31%] Downloaded 419950 bytes... [33%] Downloaded 436334 bytes... [34%] Downloaded 452654 bytes... [35%] Downloaded 469038 bytes... [36%] Downloaded 485358 bytes... [38%] Downloaded 501742 bytes... [39%] Downloaded 518062 bytes... [40%] Downloaded 534446 bytes... [41%] Downloaded 550766 bytes... [43%] Downloaded 567150 bytes... [44%] Downloaded 583470 bytes... [45%] Downloaded 599854 bytes... [46%] Downloaded 616174 bytes... [46%] Downloaded 616190 bytes... [48%] Downloaded 632574 bytes... [48%] Downloaded 632622 bytes... [49%] Downloaded 648886 bytes... [50%] Downloaded 665270 bytes... [51%] Downloaded 681590 bytes... [53%] Downloaded 697974 bytes... [54%] Downloaded 714294 bytes... [55%] Downloaded 730678 bytes... [56%] Downloaded 746998 bytes... [58%] Downloaded 763382 bytes... [59%] Downloaded 779702 bytes... [60%] Downloaded 796086 bytes... [61%] Downloaded 812406 bytes... [63%] Downloaded 828790 bytes... [64%] Downloaded 845110 bytes... [65%] Downloaded 861494 bytes... [66%] Downloaded 877814 bytes... [68%] Downloaded 894198 bytes... [69%] Downloaded 910518 bytes... [70%] Downloaded 926902 bytes... [71%] Downloaded 943222 bytes... [73%] Downloaded 959606 bytes... [74%] Downloaded 975926 bytes... [75%] Downloaded 992310 bytes... [76%] Downloaded 1008630 bytes... [77%] Downloaded 1025014 bytes... [79%] Downloaded 1041334 bytes... [80%] Downloaded 1057718 bytes... [81%] Downloaded 1074038 bytes... [82%] Downloaded 1090422 bytes... [84%] Downloaded 1106742 bytes... [85%] Downloaded 1123126 bytes... [86%] Downloaded 1139446 bytes... [87%] Downloaded 1155830 bytes... [89%] Downloaded 1172150 bytes... [90%] Downloaded 1188534 bytes... [91%] Downloaded 1204854 bytes... [92%] Downloaded 1221238 bytes... [94%] Downloaded 1237558 bytes... [95%] Downloaded 1253942 bytes... [96%] Downloaded 1270262 bytes... [97%] Downloaded 1286646 bytes... [99%] Downloaded 1302966 bytes... [100%] Downloaded 1314165 bytes... ── Install corpus ────────────────────────────────────────────────────────────── . . [ FAIL 2 | WARN 1 | SKIP 5 | PASS 8 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test_install.R:76:5', 'test_install.R:87:5', 'test_install.R:123:5', 'test_install.R:158:5' • empty test (1): 'test_directories.R:25:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_encode.R:16:5'): encode corpus ───────────────────────────────── Error in `loadNamespace(x)`: there is no package called 'janeaustenr' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_encode.R:16:5 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_encode.R:140:5'): check p_attribute with R/CWB, without/with compression ── Error in `loadNamespace(x)`: there is no package called 'tidytext' Backtrace: ▆ 1. └─base::loadNamespace(x) at test_encode.R:140:5 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 2 | WARN 1 | SKIP 5 | PASS 8 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 NOTE See ‘/data/gannet/ripley/R/packages/tests-Suggests/cwbtools.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:51.89, 140.95 + 14.40