Running 'testthat.R' [22s]
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/RtmpKarR8o/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/RtmpKarR8o/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 31731 bytes...
   [3%] Downloaded 48115 bytes...
   [6%] Downloaded 80883 bytes...
   [7%] Downloaded 97267 bytes...
   [8%] Downloaded 113651 bytes...
   [9%] Downloaded 130035 bytes...
   [14%] Downloaded 195571 bytes...
   [16%] Downloaded 211955 bytes...
   [18%] Downloaded 244723 bytes...
   [19%] Downloaded 261107 bytes...
   [23%] Downloaded 310259 bytes...
   [27%] Downloaded 359411 bytes...
   [31%] Downloaded 408563 bytes...
   [32%] Downloaded 424947 bytes...
   [33%] Downloaded 441331 bytes...
   [34%] Downloaded 457715 bytes...
   [38%] Downloaded 506867 bytes...
   [43%] Downloaded 572403 bytes...
   [54%] Downloaded 719859 bytes...
   [59%] Downloaded 785395 bytes...
   [67%] Downloaded 883699 bytes...
   [68%] Downloaded 900083 bytes...
   [69%] Downloaded 916467 bytes...
   [73%] Downloaded 965619 bytes...
   [85%] Downloaded 1129459 bytes...
   [89%] Downloaded 1178611 bytes...
   [93%] Downloaded 1227763 bytes...
   [98%] Downloaded 1293299 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