Running ‘testthat.R’ [15s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(cwbtools)
  > 
  > test_check("cwbtools")
  === Makeall: processing corpus AUSTEN ===
  Registry directory: /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/registry
  ATTRIBUTE word
   + creating LEXSRT ... OK
   - lexicon      OK
   + creating FREQS ... OK
   - frequencies  OK
   - token stream OK
   + creating REVCIDX ... OK
   + creating REVCORP ... OK
   ? validating REVCORP ... OK
   - index        OK
  ========================================
  === Makeall: processing corpus AUSTEN ===
  Registry directory: /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/registry
  ATTRIBUTE stem
   + creating LEXSRT ... OK
   - lexicon      OK
   + creating FREQS ... OK
   - frequencies  OK
   - token stream OK
   + creating REVCIDX ... OK
   + creating REVCORP ... 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 8.4 MB
  
  Updating cwb-config script ...
  Installing CQP and utilities in /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/cwb/bin
  Installing CL library and header files in /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/cwb/lib and /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/cwb/include
  Installing manual pages in /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/cwb/share/man
  Congratulations, the IMS Open Corpus Workbench v3.0.0 has been installed successfully.
  Please make sure that /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/cwb/bin is in your search path.
          0k tokens processed
         14k tokens processed
         29k tokens processed
         43k tokens processed
         58k tokens processed
         73k tokens processed
         87k tokens processed
        102k tokens processed
        117k tokens processed
        131k tokens processed
        146k tokens processed
        161k tokens processed
        175k tokens processed
        190k tokens processed
        205k tokens processed
        219k tokens processed
        234k tokens processed
        249k tokens processed
        263k tokens processed
        278k tokens processed
        292k tokens processed
        307k tokens processed
        322k tokens processed
        336k tokens processed
        351k tokens processed
        366k tokens processed
        380k tokens processed
        395k tokens processed
        410k tokens processed
        424k tokens processed
        439k tokens processed
        454k tokens processed
        468k tokens processed
        483k tokens processed
        498k tokens processed
        512k tokens processed
        527k tokens processed
        541k tokens processed
        556k tokens processed
        571k tokens processed
        585k tokens processed
        600k tokens processed
        615k tokens processed
        629k tokens processed
        644k tokens processed
        659k tokens processed
        673k tokens processed
        688k tokens processed
        703k tokens processed
                                                    
  Total size: 725055 tokens (0.7M)
  === Makeall: processing corpus AUSTEN2 ===
  Registry directory: /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/registry
  ATTRIBUTE word
   - lexicon      OK
   - frequencies  OK
   - token stream OK
   - index        OK
  ========================================
  === Makeall: processing corpus AUSTEN2 ===
  Registry directory: /tmp/RtmpV0vh6e/working_dir/RtmpXl98C9/registry
  ATTRIBUTE stem
   - lexicon      OK
   - frequencies  OK
   - token stream OK
   - index        OK
  ========================================
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .
  
  .
  ── Download resource from Zenodo ───────────────────────────────────────────────
  
   [1%] Downloaded 15367 bytes...
   [2%] Downloaded 31732 bytes...
   [3%] Downloaded 48116 bytes...
   [4%] Downloaded 64500 bytes...
   [6%] Downloaded 80884 bytes...
   [7%] Downloaded 97268 bytes...
   [8%] Downloaded 113652 bytes...
   [9%] Downloaded 130036 bytes...
   [11%] Downloaded 146420 bytes...
   [12%] Downloaded 162804 bytes...
   [13%] Downloaded 179188 bytes...
   [14%] Downloaded 195572 bytes...
   [16%] Downloaded 211956 bytes...
   [17%] Downloaded 228340 bytes...
   [18%] Downloaded 244724 bytes...
   [19%] Downloaded 261108 bytes...
   [21%] Downloaded 277492 bytes...
   [22%] Downloaded 293876 bytes...
   [23%] Downloaded 310260 bytes...
   [24%] Downloaded 326644 bytes...
   [26%] Downloaded 343028 bytes...
   [27%] Downloaded 359412 bytes...
   [28%] Downloaded 375796 bytes...
   [29%] Downloaded 392180 bytes...
   [31%] Downloaded 408564 bytes...
   [32%] Downloaded 424948 bytes...
   [33%] Downloaded 441332 bytes...
   [34%] Downloaded 457716 bytes...
   [36%] Downloaded 474100 bytes...
   [37%] Downloaded 490484 bytes...
   [38%] Downloaded 506868 bytes...
   [39%] Downloaded 523252 bytes...
   [41%] Downloaded 539636 bytes...
   [42%] Downloaded 556020 bytes...
   [43%] Downloaded 572404 bytes...
   [44%] Downloaded 588788 bytes...
   [46%] Downloaded 605172 bytes...
   [47%] Downloaded 621556 bytes...
   [48%] Downloaded 637940 bytes...
   [49%] Downloaded 654324 bytes...
   [51%] Downloaded 670708 bytes...
   [52%] Downloaded 687092 bytes...
   [53%] Downloaded 703476 bytes...
   [54%] Downloaded 719860 bytes...
   [56%] Downloaded 736244 bytes...
   [57%] Downloaded 752628 bytes...
   [58%] Downloaded 769012 bytes...
   [59%] Downloaded 785396 bytes...
   [61%] Downloaded 801780 bytes...
   [62%] Downloaded 818164 bytes...
   [63%] Downloaded 834548 bytes...
   [64%] Downloaded 850932 bytes...
   [65%] Downloaded 867316 bytes...
   [67%] Downloaded 883700 bytes...
   [68%] Downloaded 900084 bytes...
   [69%] Downloaded 916468 bytes...
   [70%] Downloaded 932852 bytes...
   [72%] Downloaded 949236 bytes...
   [73%] Downloaded 965620 bytes...
   [74%] Downloaded 982004 bytes...
   [75%] Downloaded 998388 bytes...
   [77%] Downloaded 1014772 bytes...
   [78%] Downloaded 1031156 bytes...
   [79%] Downloaded 1047540 bytes...
   [80%] Downloaded 1063924 bytes...
   [82%] Downloaded 1080308 bytes...
   [83%] Downloaded 1096692 bytes...
   [84%] Downloaded 1113076 bytes...
   [85%] Downloaded 1129460 bytes...
   [87%] Downloaded 1145844 bytes...
   [88%] Downloaded 1162228 bytes...
   [89%] Downloaded 1178612 bytes...
   [90%] Downloaded 1194996 bytes...
   [92%] Downloaded 1211380 bytes...
   [93%] Downloaded 1227764 bytes...
   [94%] Downloaded 1244148 bytes...
   [95%] Downloaded 1260532 bytes...
   [97%] Downloaded 1276916 bytes...
   [98%] Downloaded 1293300 bytes...
   [99%] Downloaded 1309684 bytes...
   [100%] Downloaded 1314165 bytes...
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .
  ── Download restricted resource from Zenodo ────────────────────────────────────
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 12 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (3)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_install.R:165:5): zenodo_get_tarball() ──────────────────────────
  Error in `strsplit(x = sapply(file_elems, xml_attr, attr = "href"), split = "\\?download")`: non-character argument
  Backtrace:
      ▆
   1. └─cwbtools::zenodo_get_tarball(url = gparl_url_restricted) at test_install.R:165:4
   2.   ├─base::sapply(...)
   3.   │ └─base::lapply(X = X, FUN = FUN, ...)
   4.   └─base::strsplit(...)
  
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 12 ]
  Error: Test failures
  Execution halted