* using log directory 'd:/Rcompile/CRANpkg/local/4.2/cwbtools.Rcheck' * using R version 4.2.3 (2023-03-15 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: UTF-8 * checking for file 'cwbtools/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'cwbtools' version '0.3.8' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'cwbtools' can be installed ... OK * checking installed package size ... 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 R 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 ... [12s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [7s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [17s] ERROR Running 'testthat.R' [17s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(cwbtools) > > test_check("cwbtools") === Makeall: processing corpus AUSTEN === Registry directory: D:/temp/Rtmp6N831U/registry ATTRIBUTE word + creating LEXSRT ... Creating LEXSRT OK - lexicon OK + creating FREQS ... Creating FREQS OK - frequencies OK - token stream OK + creating REVCIDX ... Creating REVCIDX OK + creating REVCORP ... Creating REVCORP Creating REVCORP component as 'D:/temp/Rtmp6N831U/indexed_corpora/austen/word.corpus.rev' ... Size = 725055 INTs, Buffer Size = 725055 INTs CL makecomps: Pass #1 ( 99.99% complete) OK ? validating REVCORP ... OK - index OK ======================================== === Makeall: processing corpus AUSTEN === Registry directory: D:/temp/Rtmp6N831U/registry ATTRIBUTE stem + creating LEXSRT ... Creating LEXSRT OK - lexicon OK + creating FREQS ... Creating FREQS OK - frequencies OK - token stream OK + creating REVCIDX ... Creating REVCIDX OK + creating REVCORP ... Creating REVCORP Creating REVCORP component as 'D:/temp/Rtmp6N831U/indexed_corpora/austen/stem.corpus.rev' ... Size = 725055 INTs, Buffer Size = 725055 INTs CL makecomps: Pass #1 ( 99.99% complete) OK ? validating REVCORP ... OK - index OK ======================================== ── Install corpus ────────────────────────────────────────────────────────────── . ── Download resource from Zenodo ─────────────────────────────────────────────── [2%] Downloaded 31731 bytes... [3%] Downloaded 48115 bytes... [4%] Downloaded 64499 bytes... [7%] Downloaded 97267 bytes... [8%] Downloaded 113651 bytes... [9%] Downloaded 130035 bytes... [11%] Downloaded 146419 bytes... [12%] Downloaded 162803 bytes... [13%] Downloaded 179187 bytes... [14%] Downloaded 195571 bytes... [16%] Downloaded 211955 bytes... [17%] Downloaded 228339 bytes... [18%] Downloaded 244723 bytes... [19%] Downloaded 261107 bytes... [21%] Downloaded 277491 bytes... [22%] Downloaded 293875 bytes... [23%] Downloaded 310259 bytes... [24%] Downloaded 326643 bytes... [26%] Downloaded 343027 bytes... [27%] Downloaded 359411 bytes... [28%] Downloaded 375795 bytes... [29%] Downloaded 392179 bytes... [31%] Downloaded 408563 bytes... [32%] Downloaded 424947 bytes... [33%] Downloaded 441331 bytes... [34%] Downloaded 457715 bytes... [36%] Downloaded 474099 bytes... [37%] Downloaded 490483 bytes... [38%] Downloaded 506867 bytes... [39%] Downloaded 523251 bytes... [41%] Downloaded 539635 bytes... [42%] Downloaded 556019 bytes... [43%] Downloaded 572403 bytes... [44%] Downloaded 588787 bytes... [46%] Downloaded 605171 bytes... [47%] Downloaded 621555 bytes... [48%] Downloaded 637939 bytes... [49%] Downloaded 654323 bytes... [51%] Downloaded 670707 bytes... [52%] Downloaded 687091 bytes... [53%] Downloaded 703475 bytes... [54%] Downloaded 719859 bytes... [56%] Downloaded 736243 bytes... [57%] Downloaded 752627 bytes... [58%] Downloaded 769011 bytes... [59%] Downloaded 785395 bytes... [61%] Downloaded 801779 bytes... [62%] Downloaded 818163 bytes... [63%] Downloaded 834547 bytes... [64%] Downloaded 850931 bytes... [65%] Downloaded 867315 bytes... [67%] Downloaded 883699 bytes... [68%] Downloaded 900083 bytes... [69%] Downloaded 916467 bytes... [70%] Downloaded 932851 bytes... [72%] Downloaded 949235 bytes... [73%] Downloaded 965619 bytes... [74%] Downloaded 982003 bytes... [75%] Downloaded 998387 bytes... [77%] Downloaded 1014771 bytes... [78%] Downloaded 1031155 bytes... [79%] Downloaded 1047539 bytes... [80%] Downloaded 1063923 bytes... [82%] Downloaded 1080307 bytes... [83%] Downloaded 1096691 bytes... [84%] Downloaded 1113075 bytes... [85%] Downloaded 1129459 bytes... [87%] Downloaded 1145843 bytes... [88%] Downloaded 1162227 bytes... [89%] Downloaded 1178611 bytes... [90%] Downloaded 1194995 bytes... [92%] Downloaded 1211379 bytes... [93%] Downloaded 1227763 bytes... [94%] Downloaded 1244147 bytes... [95%] Downloaded 1260531 bytes... [97%] Downloaded 1276915 bytes... [98%] Downloaded 1293299 bytes... [99%] Downloaded 1309683 bytes... [100%] Downloaded 1314165 bytes... ── Install corpus ────────────────────────────────────────────────────────────── . ── Download restricted resource from Zenodo ──────────────────────────────────── [ FAIL 1 | WARN 2 | SKIP 6 | PASS 8 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test_install.R:72:5', 'test_install.R:83:5', 'test_install.R:119:5', 'test_install.R:200:5' • On Windows (1): 'test_encode.R:66:5' • empty test (1): 'test_directories.R:25:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_install.R:175:5'): check that corpus_install() aborts of md5 checksum is invalid ── `y` is not FALSE `actual`: TRUE `expected`: FALSE [ FAIL 1 | WARN 2 | SKIP 6 | PASS 8 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [17s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR