Running ‘testthat.R’ [12s/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/RtmpnWN2sB/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/RtmpnWN2sB/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/RtmpnWN2sB/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/RtmpnWN2sB/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 95 KB
  
  sh: 0: Illegal option -d
  sh: 0: Illegal option -r
  sh: 0: Illegal option -d
  sh: 0: Illegal option -r
  sh: 0: Illegal option -d
  
  
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .
  ── Download 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 time invalid
  librdf error - HTML parser error: Tag invenio-search invalid
  librdf error - HTML parser error: Tag invenio-search-count invalid
  librdf error - HTML parser error: Tag invenio-search-facets invalid
  librdf error - HTML parser error: Tag invenio-search-bar invalid
  librdf error - HTML parser error: Tag invenio-search-error invalid
  librdf error - HTML parser error: Tag invenio-search-results invalid
  librdf error - HTML parser error: Tag invenio-search-pagination invalid
  librdf error - HTML parser error: Tag invenio-search-select-box invalid
  librdf error - HTML parser error: Unexpected end tag : img
  librdf error - HTML parser error: Tag invenio-csl invalid
  librdf error - HTML parser error: Tag invenio-csl-citeproc invalid
  librdf error - HTML parser error: Tag invenio-csl-error invalid
  librdf error - HTML parser error: Tag invenio-csl-loading invalid
  librdf error - HTML parser error: Tag invenio-csl-typeahead invalid
  librdf error - HTML parser error: Tag footer invalid
  
   [2%] Downloaded 31731 bytes...
   [6%] Downloaded 80883 bytes...
   [9%] Downloaded 130035 bytes...
   [12%] Downloaded 162803 bytes...
   [18%] Downloaded 244723 bytes...
   [21%] Downloaded 277491 bytes...
   [24%] Downloaded 326643 bytes...
   [27%] Downloaded 359411 bytes...
   [28%] Downloaded 375795 bytes...
   [29%] Downloaded 392179 bytes...
   [31%] Downloaded 408563 bytes...
   [32%] Downloaded 424947 bytes...
   [37%] Downloaded 490483 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...
   [53%] Downloaded 703475 bytes...
   [56%] Downloaded 736243 bytes...
   [57%] Downloaded 752627 bytes...
   [59%] Downloaded 785395 bytes...
   [61%] Downloaded 801779 bytes...
   [62%] Downloaded 818163 bytes...
   [65%] Downloaded 867315 bytes...
   [67%] Downloaded 883699 bytes...
   [69%] Downloaded 916467 bytes...
   [72%] Downloaded 949235 bytes...
   [73%] Downloaded 965619 bytes...
   [74%] Downloaded 982003 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...
   [92%] Downloaded 1211379 bytes...
   [93%] Downloaded 1227763 bytes...
   [94%] Downloaded 1244147 bytes...
   [95%] Downloaded 1260531 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 time invalid
  librdf error - HTML parser error: Tag invenio-search invalid
  librdf error - HTML parser error: Tag invenio-search-count invalid
  librdf error - HTML parser error: Tag invenio-search-facets invalid
  librdf error - HTML parser error: Tag invenio-search-bar invalid
  librdf error - HTML parser error: Tag invenio-search-error invalid
  librdf error - HTML parser error: Tag invenio-search-results invalid
  librdf error - HTML parser error: Tag invenio-search-pagination invalid
  librdf error - HTML parser error: Tag invenio-search-select-box invalid
  librdf error - HTML parser error: Unexpected end tag : img
  librdf error - HTML parser error: Tag invenio-csl invalid
  librdf error - HTML parser error: Tag invenio-csl-citeproc invalid
  librdf error - HTML parser error: Tag invenio-csl-error invalid
  librdf error - HTML parser error: Tag invenio-csl-loading invalid
  librdf error - HTML parser error: Tag invenio-csl-typeahead invalid
  librdf error - HTML parser error: Tag footer invalid
  [ FAIL 1 | WARN 6 | SKIP 5 | PASS 13 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test_install.R:72:5', 'test_install.R:83:5',
    'test_install.R:119:5', 'test_install.R:200: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 6 | SKIP 5 | PASS 13 ]
  Error: Test failures
  Execution halted