Running 'testthat.R' [58s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cwbtools)
  > 
  > test_check("cwbtools")
  === Makeall: processing corpus AUSTEN1A ===
  Registry directory: D:/temp/Rtmp4MlmLd/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 AUSTEN1B ===
  Registry directory: D:/temp/Rtmp4MlmLd/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
  ========================================
  COMPRESSING TOKEN STREAM of (nil).word
  - writing code descriptor block to D:/temp/Rtmp4MlmLd/data_dir/austen1b/word.hcd
  - writing compressed item sequence to D:/temp/Rtmp4MlmLd/data_dir/austen1b/word.huf
  - writing sync (every 128 tokens) to D:/temp/Rtmp4MlmLd/data_dir/austen1b/word.huf.syn
  VALIDATING AUSTEN1B.word
  - reading code descriptor block from D:/temp/Rtmp4MlmLd/data_dir/austen1b/word.hcd
  - reading compressed item sequence from D:/temp/Rtmp4MlmLd/data_dir/austen1b/word.huf
  - reading sync (mod 128) from D:/temp/Rtmp4MlmLd/data_dir/austen1b/word.huf.syn
  File read error: No error
  ERROR: wrong sync offset -1 (true offset 6696) at cpos 5632. Aborted.
  COMPRESSING INDEX of AUSTEN1B.word
  - writing compressed index to D:/temp/Rtmp4MlmLd/data_dir/austen1b/word.crc
  - writing compressed index offsets to D:/temp/Rtmp4MlmLd/data_dir/austen1b/word.crx
  
  
  ── Install corpus ──────────────────────────────────────────────────────────────
  
  .
  ── Download resource from Zenodo ───────────────────────────────────────────────
  
  .
  [ FAIL 1 | WARN 1 | SKIP 7 | PASS 8 ]
  
  ══ Skipped tests (7) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test_install.R:76:5', 'test_install.R:87:5',
    'test_install.R:123:5', 'test_install.R:158:5'
  • On Windows (2): 'test_encode.R:72:5', 'test_encode.R:185:5'
  • empty test (1): 'test_directories.R:25:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_install.R:144:5'): zenodo_get_tarball() - public resource ──────
  Error in `zenodo_get_tarball(url = gparl_url_pub)`: object 'zenodo_record' not found
  Backtrace:
      ▆
   1. └─cwbtools::zenodo_get_tarball(url = gparl_url_pub) at test_install.R:144:5
   2.   └─base::sapply(zenodo_record[["files"]], `[[`, "download")
   3.     └─base::lapply(X = X, FUN = FUN, ...)
  
  [ FAIL 1 | WARN 1 | SKIP 7 | PASS 8 ]
  Error: Test failures
  Execution halted