Running ‘testthat.R’ [11s/84s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(cwbtools)
  > 
  > test_check("cwbtools")
  === Makeall: processing corpus AUSTEN ===
  Registry directory: /home/hornik/tmp/scratch/RtmpQtfGPP/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 '/home/hornik/tmp/scratch/RtmpQtfGPP/indexed_corpora/austen/word.corpus.rev' ... 
  Size = 725064 INTs,  Buffer Size = 725064 INTs
  CL makecomps: Pass #1   ( 99.99% complete)
  OK
   ? validating REVCORP ... OK
   - index        OK
  ========================================
  === Makeall: processing corpus AUSTEN ===
  Registry directory: /home/hornik/tmp/scratch/RtmpQtfGPP/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 '/home/hornik/tmp/scratch/RtmpQtfGPP/indexed_corpora/austen/stem.corpus.rev' ... 
  Size = 725064 INTs,  Buffer Size = 725064 INTs
  CL makecomps: Pass #1   ( 99.99% complete)
  OK
   ? validating REVCORP ... OK
   - index        OK
  ========================================
  trying URL 'https://sourceforge.net/projects/cwb/files/cwb/cwb-3.0.0/cwb-3.0.0-linux-x86_64.tar.gz'
  Content type 'application/x-gzip' length 8856066 bytes (8.4 MB)
  =================
  downloaded 2.9 MB
  
  sh: 0: Illegal option -d
  sh: 0: Illegal option -r
  
  
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .
  ── Download resource from Zenodo ───────────────────────────────────────────────
  
   [0%] Downloaded 7932 bytes...
   [0%] Downloaded 10728 bytes...
   [2%] Downloaded 30300 bytes...
   [2%] Downloaded 34494 bytes...
   [6%] Downloaded 89434 bytes...
   [9%] Downloaded 121588 bytes...
   [10%] Downloaded 135568 bytes...
   [11%] Downloaded 146752 bytes...
   [11%] Downloaded 152344 bytes...
   [11%] Downloaded 155140 bytes...
   [13%] Downloaded 174712 bytes...
   [13%] Downloaded 181702 bytes...
   [14%] Downloaded 188156 bytes...
   [15%] Downloaded 199340 bytes...
   [21%] Downloaded 282364 bytes...
   [23%] Downloaded 306940 bytes...
   [23%] Downloaded 315328 bytes...
   [28%] Downloaded 371512 bytes...
   [29%] Downloaded 388860 bytes...
   [30%] Downloaded 405244 bytes...
   [32%] Downloaded 421564 bytes...
   [34%] Downloaded 452188 bytes...
   [37%] Downloaded 496924 bytes...
   [38%] Downloaded 502516 bytes...
   [38%] Downloaded 509506 bytes...
   [39%] Downloaded 515098 bytes...
   [40%] Downloaded 527680 bytes...
   [40%] Downloaded 536068 bytes...
   [41%] Downloaded 548650 bytes...
   [42%] Downloaded 565034 bytes...
   [44%] Downloaded 578622 bytes...
   [45%] Downloaded 595006 bytes...
   [49%] Downloaded 647060 bytes...
   [51%] Downloaded 673072 bytes...
   [52%] Downloaded 695440 bytes...
   [53%] Downloaded 699634 bytes...
   [55%] Downloaded 730390 bytes...
   [56%] Downloaded 746774 bytes...
   [57%] Downloaded 758964 bytes...
   [58%] Downloaded 775348 bytes...
   [60%] Downloaded 791062 bytes...
   [61%] Downloaded 804484 bytes...
   [62%] Downloaded 820868 bytes...
   [63%] Downloaded 837188 bytes...
   [64%] Downloaded 853572 bytes...
   [70%] Downloaded 924712 bytes...
   [71%] Downloaded 941488 bytes...
   [72%] Downloaded 958264 bytes...
   [73%] Downloaded 963856 bytes...
   [73%] Downloaded 972244 bytes...
   [75%] Downloaded 989020 bytes...
   [75%] Downloaded 991816 bytes...
   [76%] Downloaded 1001602 bytes...
   [76%] Downloaded 1007194 bytes...
   [77%] Downloaded 1016980 bytes...
   [77%] Downloaded 1021174 bytes...
   [78%] Downloaded 1028164 bytes...
   [79%] Downloaded 1039348 bytes...
   [79%] Downloaded 1050532 bytes...
   [81%] Downloaded 1066916 bytes...
   [82%] Downloaded 1088278 bytes...
   [84%] Downloaded 1112044 bytes...
   [85%] Downloaded 1120432 bytes...
   [86%] Downloaded 1131616 bytes...
   [89%] Downloaded 1177750 bytes...
   [91%] Downloaded 1198720 bytes...
   [91%] Downloaded 1207108 bytes...
   [92%] Downloaded 1214098 bytes...
   [94%] Downloaded 1239262 bytes...
   [95%] Downloaded 1249048 bytes...
   [95%] Downloaded 1251844 bytes...
   [97%] Downloaded 1277008 bytes...
   [97%] Downloaded 1285396 bytes...
   [99%] Downloaded 1307764 bytes...
   [100%] Downloaded 1314165 bytes...
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .
  ── Download restricted resource from Zenodo ────────────────────────────────────
  librdf error - HTML parser error: Tag header invalid
  librdf error - HTML parser error: Tag nav invalid
  librdf error - HTML parser error: Tag nav invalid
  librdf error - HTML parser error: Opening and ending tag mismatch: header and div
  librdf error - HTML parser error: Tag main invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag article invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Unexpected end tag : p
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag aside invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag section invalid
  librdf error - HTML parser error: Tag footer invalid
  librdf error - HTML parser error: htmlParseEntityRef: no name
  librdf error - HTML parser error: Element script embeds close tag
  librdf error - HTML parser error: Element script embeds close tag
  
   [0%] Downloaded 12028 bytes...
   [3%] Downloaded 40700 bytes...
   [7%] Downloaded 97136 bytes...
   [14%] Downloaded 188548 bytes...
   [16%] Downloaded 212314 bytes...
   [21%] Downloaded 287048 bytes...
   [23%] Downloaded 303824 bytes...
   [23%] Downloaded 308018 bytes...
   [24%] Downloaded 315008 bytes...
   [25%] Downloaded 334580 bytes...
   [26%] Downloaded 342968 bytes...
   [26%] Downloaded 349958 bytes...
   [27%] Downloaded 356948 bytes...
   [27%] Downloaded 365336 bytes...
   [28%] Downloaded 372326 bytes...
   [28%] Downloaded 377918 bytes...
   [29%] Downloaded 386306 bytes...
   [30%] Downloaded 393296 bytes...
   [30%] Downloaded 397490 bytes...
   [31%] Downloaded 407276 bytes...
   [31%] Downloaded 412868 bytes...
   [32%] Downloaded 419858 bytes...
   [33%] Downloaded 443624 bytes...
   [35%] Downloaded 458492 bytes...
   [44%] Downloaded 584312 bytes...
   [46%] Downloaded 606680 bytes...
   [47%] Downloaded 615068 bytes...
   [47%] Downloaded 623730 bytes...
   [48%] Downloaded 630524 bytes...
   [48%] Downloaded 637514 bytes...
   [49%] Downloaded 650096 bytes...
   [50%] Downloaded 654290 bytes...
   [51%] Downloaded 671066 bytes...
   [52%] Downloaded 679454 bytes...
   [52%] Downloaded 687868 bytes...
   [53%] Downloaded 694858 bytes...
   [53%] Downloaded 700450 bytes...
   [54%] Downloaded 708838 bytes...
   [54%] Downloaded 715240 bytes...
   [55%] Downloaded 730618 bytes...
   [56%] Downloaded 739006 bytes...
   [57%] Downloaded 745212 bytes...
   [57%] Downloaded 752104 bytes...
   [58%] Downloaded 757500 bytes...
   [63%] Downloaded 831424 bytes...
   [64%] Downloaded 839420 bytes...
   [64%] Downloaded 845012 bytes...
   [66%] Downloaded 868092 bytes...
   [68%] Downloaded 888572 bytes...
   [70%] Downloaded 917342 bytes...
   [71%] Downloaded 933726 bytes...
   [73%] Downloaded 954108 bytes...
   [73%] Downloaded 956904 bytes...
   [74%] Downloaded 970492 bytes...
   [75%] Downloaded 980278 bytes...
   [76%] Downloaded 996662 bytes...
   [78%] Downloaded 1019938 bytes...
   [78%] Downloaded 1023740 bytes...
   [80%] Downloaded 1052412 bytes...
   [81%] Downloaded 1059402 bytes...
   [84%] Downloaded 1105856 bytes...
   [86%] Downloaded 1133130 bytes...
   [87%] Downloaded 1142916 bytes...
   [88%] Downloaded 1152702 bytes...
   [90%] Downloaded 1176468 bytes...
   [91%] Downloaded 1189050 bytes...
   [91%] Downloaded 1196040 bytes...
   [92%] Downloaded 1202664 bytes...
   [92%] Downloaded 1208060 bytes...
   [94%] Downloaded 1233224 bytes...
   [95%] Downloaded 1241612 bytes...
   [96%] Downloaded 1254194 bytes...
   [97%] Downloaded 1269572 bytes...
   [98%] Downloaded 1290542 bytes...
   [99%] Downloaded 1298930 bytes...
   [100%] Downloaded 1305613 bytes...
  ── Install corpus ──────────────────────────────────────────────────────────────
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine'
  
  .
  
  .
  [ FAIL 1 | WARN 5 | SKIP 4 | PASS 10 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test_install.R:72:5', 'test_install.R:83:5',
    'test_install.R:119:5'
  • empty test (1): 'test_directories.R:25:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_encode.R:73:5'): encode corpus ─────────────────────────────────
  Error in `p_attribute_encode(token_stream = self$tokenstream[[new_attribute]], 
      corpus = corpus, p_attribute = new_attribute, encoding = encoding, 
      registry_dir = registry_dir, data_dir = data_dir, method = method, 
      verbose = FALSE, compress = compress)`: CWB binaries not found using `cwb_get_bindir()`
  Backtrace:
      ▆
   1. └─Austen$encode(...) at test_encode.R:73:5
   2.   └─cwbtools::p_attribute_encode(...)
  
  [ FAIL 1 | WARN 5 | SKIP 4 | PASS 10 ]
  Error: Test failures
  Execution halted