Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cwbtools)
  > 
  > test_check("cwbtools")
  === Makeall: processing corpus AUSTEN ===
  Registry directory: D:/temp/RtmpOE3LwN/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: D:/temp/RtmpOE3LwN/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
  ========================================
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  ............
  
  ............
  ── Download resource from Zenodo ───────────────────────────────────────────────
  
   [2%] Downloaded 31732 bytes...
   [3%] Downloaded 48116 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...
   [16%] Downloaded 211956 bytes...
   [17%] Downloaded 228340 bytes...
   [18%] Downloaded 244724 bytes...
   [19%] Downloaded 261108 bytes...
   [22%] Downloaded 293876 bytes...
   [23%] Downloaded 310260 bytes...
   [26%] Downloaded 343028 bytes...
   [27%] Downloaded 359412 bytes...
   [33%] Downloaded 441332 bytes...
   [34%] Downloaded 457716 bytes...
   [36%] Downloaded 474100 bytes...
   [37%] Downloaded 490484 bytes...
   [41%] Downloaded 539636 bytes...
   [43%] Downloaded 572404 bytes...
   [44%] Downloaded 588788 bytes...
   [49%] Downloaded 654324 bytes...
   [52%] Downloaded 687092 bytes...
   [53%] Downloaded 703476 bytes...
   [56%] Downloaded 736244 bytes...
   [59%] Downloaded 785396 bytes...
   [68%] Downloaded 900084 bytes...
   [70%] Downloaded 932852 bytes...
   [72%] Downloaded 949236 bytes...
   [73%] Downloaded 965620 bytes...
   [74%] Downloaded 982004 bytes...
   [84%] Downloaded 1113076 bytes...
   [87%] Downloaded 1145844 bytes...
   [88%] Downloaded 1162228 bytes...
   [92%] Downloaded 1211380 bytes...
   [93%] Downloaded 1227764 bytes...
   [94%] Downloaded 1244148 bytes...
   [95%] Downloaded 1260532 bytes...
   [100%] Downloaded 1314165 bytes...
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .......
  ── Download restricted resource from Zenodo ────────────────────────────────────
  [ FAIL 1 | WARN 0 | SKIP 5 | PASS 7 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (3)
  • On Windows (1)
  • 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 5 | PASS 7 ]
  Error: Test failures
  Execution halted