Running ‘testthat.R’ [11s/82s]
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/RtmpKd1XUx/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/RtmpKd1XUx/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/RtmpKd1XUx/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/RtmpKd1XUx/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 303 KB
  
  sh: 0: Illegal option -d
  sh: 0: Illegal option -r
  
  
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .
  ── Download resource from Zenodo ───────────────────────────────────────────────
  
   [0%] Downloaded 12028 bytes...
   [1%] Downloaded 16124 bytes...
   [3%] Downloaded 40700 bytes...
   [6%] Downloaded 89852 bytes...
   [14%] Downloaded 196348 bytes...
   [19%] Downloaded 261884 bytes...
   [23%] Downloaded 310908 bytes...
   [24%] Downloaded 327292 bytes...
   [26%] Downloaded 351996 bytes...
   [28%] Downloaded 376380 bytes...
   [29%] Downloaded 392764 bytes...
   [30%] Downloaded 405678 bytes...
   [38%] Downloaded 503372 bytes...
   [39%] Downloaded 519756 bytes...
   [40%] Downloaded 536076 bytes...
   [42%] Downloaded 552460 bytes...
   [43%] Downloaded 568780 bytes...
   [44%] Downloaded 585164 bytes...
   [45%] Downloaded 601484 bytes...
   [48%] Downloaded 634188 bytes...
   [49%] Downloaded 650572 bytes...
   [50%] Downloaded 666892 bytes...
   [51%] Downloaded 683276 bytes...
   [53%] Downloaded 699596 bytes...
   [54%] Downloaded 715980 bytes...
   [55%] Downloaded 732300 bytes...
   [59%] Downloaded 781388 bytes...
   [60%] Downloaded 797708 bytes...
   [61%] Downloaded 814092 bytes...
   [63%] Downloaded 830412 bytes...
   [64%] Downloaded 846796 bytes...
   [65%] Downloaded 863116 bytes...
   [66%] Downloaded 879500 bytes...
   [68%] Downloaded 895820 bytes...
   [69%] Downloaded 912204 bytes...
   [70%] Downloaded 928540 bytes...
   [71%] Downloaded 944972 bytes...
   [73%] Downloaded 961236 bytes...
   [74%] Downloaded 977620 bytes...
   [75%] Downloaded 993940 bytes...
   [76%] Downloaded 1010324 bytes...
   [81%] Downloaded 1075732 bytes...
   [83%] Downloaded 1092052 bytes...
   [84%] Downloaded 1108436 bytes...
   [85%] Downloaded 1124756 bytes...
   [86%] Downloaded 1141140 bytes...
   [88%] Downloaded 1157460 bytes...
   [89%] Downloaded 1173844 bytes...
   [90%] Downloaded 1190164 bytes...
   [91%] Downloaded 1206548 bytes...
   [93%] Downloaded 1222868 bytes...
   [94%] Downloaded 1239252 bytes...
   [95%] Downloaded 1255572 bytes...
   [96%] Downloaded 1271956 bytes...
   [98%] Downloaded 1288276 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...
   [5%] Downloaded 77564 bytes...
   [8%] Downloaded 105524 bytes...
   [9%] Downloaded 126716 bytes...
   [11%] Downloaded 151292 bytes...
   [13%] Downloaded 179964 bytes...
   [19%] Downloaded 256782 bytes...
   [20%] Downloaded 273166 bytes...
   [22%] Downloaded 294528 bytes...
   [30%] Downloaded 399928 bytes...
   [35%] Downloaded 459890 bytes...
   [36%] Downloaded 473870 bytes...
   [37%] Downloaded 495356 bytes...
   [38%] Downloaded 503548 bytes...
   [40%] Downloaded 524028 bytes...
   [42%] Downloaded 558194 bytes...
   [43%] Downloaded 573180 bytes...
   [45%] Downloaded 589564 bytes...
   [48%] Downloaded 634620 bytes...
   [52%] Downloaded 682544 bytes...
   [53%] Downloaded 698928 bytes...
   [54%] Downloaded 715248 bytes...
   [56%] Downloaded 731632 bytes...
   [57%] Downloaded 747952 bytes...
   [59%] Downloaded 776210 bytes...
   [60%] Downloaded 787394 bytes...
   [61%] Downloaded 803778 bytes...
   [62%] Downloaded 820098 bytes...
   [64%] Downloaded 836482 bytes...
   [72%] Downloaded 945526 bytes...
   [73%] Downloaded 961846 bytes...
   [74%] Downloaded 978230 bytes...
   [76%] Downloaded 994550 bytes...
   [77%] Downloaded 1010934 bytes...
   [78%] Downloaded 1027254 bytes...
   [80%] Downloaded 1046024 bytes...
   [81%] Downloaded 1062408 bytes...
   [82%] Downloaded 1078728 bytes...
   [83%] Downloaded 1095112 bytes...
   [85%] Downloaded 1111432 bytes...
   [86%] Downloaded 1127816 bytes...
   [87%] Downloaded 1142524 bytes...
   [90%] Downloaded 1183484 bytes...
   [91%] Downloaded 1199868 bytes...
   [93%] Downloaded 1216252 bytes...
   [94%] Downloaded 1232572 bytes...
   [95%] Downloaded 1253116 bytes...
   [97%] Downloaded 1268494 bytes...
   [98%] Downloaded 1284878 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