* using log directory ‘/srv/hornik/tmp/CRAN/cwbtools.Rcheck’ * using R Under development (unstable) (2024-02-25 r85988) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘cwbtools/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘cwbtools’ version ‘0.4.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] Note_to_CRAN_maintainers Maintainer: ‘Andreas Blaette ’ * checking package namespace information ... OK * checking package dependencies ... OK * 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 serialization versions ... OK * checking whether package ‘cwbtools’ can be installed ... [5s/5s] OK * checking package directory ... OK * checking for future file timestamps ... 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [8s/8s] OK * checking Rd files ... [0s/0s] 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 ... [6s/6s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [8s/17s] ERROR Running ‘testthat.R’ [8s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(cwbtools) > > test_check("cwbtools") Downloaded 362 bytes... Downloaded 378 bytes... Downloaded 625 bytes... [100%] Downloaded 363 bytes... [7%] Downloaded 32522 bytes... [10%] Downloaded 48906 bytes... [14%] Downloaded 65290 bytes... [17%] Downloaded 81674 bytes... [24%] Downloaded 114442 bytes... [28%] Downloaded 130826 bytes... [31%] Downloaded 147210 bytes... [35%] Downloaded 163594 bytes... [39%] Downloaded 179978 bytes... [42%] Downloaded 196362 bytes... [49%] Downloaded 229130 bytes... [53%] Downloaded 245514 bytes... [56%] Downloaded 261898 bytes... [60%] Downloaded 278282 bytes... [64%] Downloaded 294666 bytes... [67%] Downloaded 311050 bytes... [71%] Downloaded 327434 bytes... [74%] Downloaded 343818 bytes... [78%] Downloaded 360202 bytes... [81%] Downloaded 376586 bytes... [85%] Downloaded 392970 bytes... [88%] Downloaded 409354 bytes... [92%] Downloaded 425738 bytes... [96%] Downloaded 442122 bytes... [100%] Downloaded 460116 bytes... dpkg: error: requested operation requires superuser privilege dpkg: error: requested operation requires superuser privilege sh: 0: Illegal option -d === Makeall: processing corpus AUSTEN1A === Registry directory: /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/registry ATTRIBUTE word + creating LEXSRT ... OK - lexicon OK + creating FREQS ... OK - frequencies OK - token stream OK + creating REVCIDX ... OK + creating REVCORP ... OK ? validating REVCORP ... OK - index OK ======================================== === Makeall: processing corpus AUSTEN1B === Registry directory: /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/registry ATTRIBUTE word + creating LEXSRT ... OK - lexicon OK + creating FREQS ... OK - frequencies OK - token stream OK + creating REVCIDX ... OK + creating REVCORP ... OK ? validating REVCORP ... OK - index OK ======================================== COMPRESSING TOKEN STREAM of (null).word - writing code descriptor block to /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.hcd - writing compressed item sequence to /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.huf - writing sync (every 128 tokens) to /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.huf.syn VALIDATING AUSTEN1B.word - reading code descriptor block from /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.hcd - reading compressed item sequence from /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.huf - reading sync (mod 128) from /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.huf.syn !! You can delete the file now. COMPRESSING INDEX of AUSTEN1B.word - writing compressed index to /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.crc - writing compressed index offsets to /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.crx VALIDATING AUSTEN1B.word - reading compressed index from /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.crc - reading compressed index offsets from /tmp/RtmpD3lLMn/working_dir/RtmpwvK09o/data_dir/austen1b/word.crx !! You can delete the file now. !! You can delete the file now. ── Install corpus ────────────────────────────────────────────────────────────── . ── Download resource from Zenodo ─────────────────────────────────────────────── [0%] Downloaded 12126 bytes... [1%] Downloaded 23310 bytes... [2%] Downloaded 31698 bytes... [3%] Downloaded 48082 bytes... [4%] Downloaded 64402 bytes... [6%] Downloaded 80786 bytes... [7%] Downloaded 97106 bytes... [8%] Downloaded 105792 bytes... [11%] Downloaded 147732 bytes... [12%] Downloaded 160314 bytes... [12%] Downloaded 167304 bytes... [14%] Downloaded 186876 bytes... [15%] Downloaded 204540 bytes... [15%] Downloaded 208734 bytes... [18%] Downloaded 240888 bytes... [19%] Downloaded 256488 bytes... [21%] Downloaded 277262 bytes... [21%] Downloaded 286460 bytes... [22%] Downloaded 297644 bytes... [23%] Downloaded 302844 bytes... [24%] Downloaded 323422 bytes... [25%] Downloaded 339806 bytes... [26%] Downloaded 351996 bytes... [28%] Downloaded 368380 bytes... [29%] Downloaded 384700 bytes... [30%] Downloaded 401084 bytes... [31%] Downloaded 409340 bytes... [32%] Downloaded 425724 bytes... [33%] Downloaded 442044 bytes... [34%] Downloaded 458428 bytes... [36%] Downloaded 474748 bytes... [37%] Downloaded 491132 bytes... [38%] Downloaded 507452 bytes... [39%] Downloaded 523836 bytes... [41%] Downloaded 540156 bytes... [42%] Downloaded 556540 bytes... [43%] Downloaded 572860 bytes... [44%] Downloaded 589244 bytes... [46%] Downloaded 605564 bytes... [47%] Downloaded 621948 bytes... [48%] Downloaded 638268 bytes... [49%] Downloaded 654652 bytes... [51%] Downloaded 670972 bytes... [52%] Downloaded 687356 bytes... [53%] Downloaded 703676 bytes... [54%] Downloaded 720060 bytes... [56%] Downloaded 736380 bytes... [57%] Downloaded 752764 bytes... [58%] Downloaded 769084 bytes... [59%] Downloaded 785468 bytes... [61%] Downloaded 801788 bytes... [62%] Downloaded 818172 bytes... [63%] Downloaded 834492 bytes... [64%] Downloaded 850876 bytes... [65%] Downloaded 867212 bytes... [67%] Downloaded 883596 bytes... [67%] Downloaded 883644 bytes... [68%] Downloaded 899908 bytes... [69%] Downloaded 916292 bytes... [70%] Downloaded 932612 bytes... [72%] Downloaded 948996 bytes... [73%] Downloaded 965316 bytes... [74%] Downloaded 981700 bytes... [75%] Downloaded 998020 bytes... [77%] Downloaded 1014404 bytes... [78%] Downloaded 1030724 bytes... [79%] Downloaded 1047108 bytes... [80%] Downloaded 1063428 bytes... [83%] Downloaded 1096132 bytes... [84%] Downloaded 1112516 bytes... [85%] Downloaded 1128836 bytes... [87%] Downloaded 1145220 bytes... [88%] Downloaded 1161540 bytes... [89%] Downloaded 1177924 bytes... [90%] Downloaded 1194244 bytes... [92%] Downloaded 1210628 bytes... [93%] Downloaded 1226948 bytes... [94%] Downloaded 1243332 bytes... [95%] Downloaded 1259652 bytes... [97%] Downloaded 1276036 bytes... [98%] Downloaded 1292356 bytes... [100%] Downloaded 1314165 bytes... ── Install corpus ────────────────────────────────────────────────────────────── . . [ FAIL 1 | WARN 2 | SKIP 6 | PASS 9 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test_encode.R:183:5', '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:77:5'): encode corpus ───────────────────────────────── Error in `file(con, "r")`: cannot open the connection Backtrace: ▆ 1. └─Austen$encode(...) at test_encode.R:77:5 2. └─cwbtools::s_attribute_encode(...) 3. └─cwbtools::registry_file_parse(tolower(corpus), registry_dir = registry_dir) 4. └─base::readLines(fs::path(registry_dir, tolower(corpus))) 5. └─base::file(con, "r") [ FAIL 1 | WARN 2 | SKIP 6 | PASS 9 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [9s/9s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR