Running ‘testthat.R’ [11s/87s]
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/RtmpMmXRqP/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/RtmpMmXRqP/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/RtmpMmXRqP/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/RtmpMmXRqP/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 367 KB
  
  sh: 0: Illegal option -d
  sh: 0: Illegal option -r
  
  
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .
  ── Download resource from Zenodo ───────────────────────────────────────────────
  
   [0%] Downloaded 12028 bytes...
   [2%] Downloaded 39400 bytes...
   [5%] Downloaded 72104 bytes...
   [13%] Downloaded 179964 bytes...
   [19%] Downloaded 257566 bytes...
   [20%] Downloaded 273950 bytes...
   [22%] Downloaded 290270 bytes...
   [23%] Downloaded 306654 bytes...
   [24%] Downloaded 322974 bytes...
   [25%] Downloaded 339358 bytes...
   [27%] Downloaded 355694 bytes...
   [28%] Downloaded 372126 bytes...
   [29%] Downloaded 388390 bytes...
   [34%] Downloaded 450236 bytes...
   [35%] Downloaded 466556 bytes...
   [36%] Downloaded 482940 bytes...
   [37%] Downloaded 499260 bytes...
   [39%] Downloaded 515644 bytes...
   [40%] Downloaded 531964 bytes...
   [41%] Downloaded 548348 bytes...
   [42%] Downloaded 564668 bytes...
   [44%] Downloaded 581052 bytes...
   [45%] Downloaded 597372 bytes...
   [46%] Downloaded 613756 bytes...
   [47%] Downloaded 630076 bytes...
   [53%] Downloaded 701366 bytes...
   [54%] Downloaded 717686 bytes...
   [55%] Downloaded 734070 bytes...
   [57%] Downloaded 754332 bytes...
   [59%] Downloaded 778098 bytes...
   [59%] Downloaded 787052 bytes...
   [61%] Downloaded 803484 bytes...
   [64%] Downloaded 847998 bytes...
   [65%] Downloaded 864382 bytes...
   [67%] Downloaded 880702 bytes...
   [68%] Downloaded 897086 bytes...
   [69%] Downloaded 913406 bytes...
   [70%] Downloaded 929790 bytes...
   [74%] Downloaded 978814 bytes...
   [75%] Downloaded 995198 bytes...
   [76%] Downloaded 1011518 bytes...
   [78%] Downloaded 1031136 bytes...
   [78%] Downloaded 1038126 bytes...
   [80%] Downloaded 1060494 bytes...
   [81%] Downloaded 1076878 bytes...
   [83%] Downloaded 1093198 bytes...
   [84%] Downloaded 1109582 bytes...
   [86%] Downloaded 1134588 bytes...
   [87%] Downloaded 1155558 bytes...
   [89%] Downloaded 1172334 bytes...
   [91%] Downloaded 1197498 bytes...
   [93%] Downloaded 1228254 bytes...
   [94%] Downloaded 1246428 bytes...
   [95%] Downloaded 1260408 bytes...
   [97%] Downloaded 1279980 bytes...
   [98%] Downloaded 1300950 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 39988 bytes...
   [6%] Downloaded 89852 bytes...
   [8%] Downloaded 106236 bytes...
   [9%] Downloaded 122620 bytes...
   [11%] Downloaded 151390 bytes...
   [12%] Downloaded 163580 bytes...
   [14%] Downloaded 184158 bytes...
   [16%] Downloaded 212732 bytes...
   [24%] Downloaded 323324 bytes...
   [26%] Downloaded 339644 bytes...
   [27%] Downloaded 356028 bytes...
   [29%] Downloaded 379466 bytes...
   [29%] Downloaded 385058 bytes...
   [30%] Downloaded 401246 bytes...
   [31%] Downloaded 417532 bytes...
   [32%] Downloaded 421726 bytes...
   [37%] Downloaded 491260 bytes...
   [38%] Downloaded 503646 bytes...
   [44%] Downloaded 581372 bytes...
   [46%] Downloaded 610142 bytes...
   [49%] Downloaded 644210 bytes...
   [51%] Downloaded 671484 bytes...
   [52%] Downloaded 679676 bytes...
   [53%] Downloaded 693460 bytes...
   [54%] Downloaded 709844 bytes...
   [54%] Downloaded 716540 bytes...
   [56%] Downloaded 732924 bytes...
   [57%] Downloaded 749244 bytes...
   [58%] Downloaded 765628 bytes...
   [59%] Downloaded 782076 bytes...
   [63%] Downloaded 831006 bytes...
   [63%] Downloaded 835324 bytes...
   [64%] Downloaded 843516 bytes...
   [65%] Downloaded 859900 bytes...
   [70%] Downloaded 917244 bytes...
   [70%] Downloaded 921438 bytes...
   [72%] Downloaded 941820 bytes...
   [73%] Downloaded 955604 bytes...
   [74%] Downloaded 970590 bytes...
   [76%] Downloaded 1003260 bytes...
   [77%] Downloaded 1007454 bytes...
   [78%] Downloaded 1019644 bytes...
   [79%] Downloaded 1040124 bytes...
   [79%] Downloaded 1044318 bytes...
   [80%] Downloaded 1052510 bytes...
   [81%] Downloaded 1064700 bytes...
   [87%] Downloaded 1142916 bytes...
   [89%] Downloaded 1163004 bytes...
   [89%] Downloaded 1168596 bytes...
   [90%] Downloaded 1179388 bytes...
   [90%] Downloaded 1182184 bytes...
   [92%] Downloaded 1203964 bytes...
   [93%] Downloaded 1220348 bytes...
   [94%] Downloaded 1231532 bytes...
   [97%] Downloaded 1266802 bytes...
   [97%] Downloaded 1279188 bytes...
   [98%] Downloaded 1289980 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