Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library("testthat")
  > library("readtext")
  > 
  > # save, then reset, readtext options
  > opts <- readtext_options()
  > readtext_options(reset = TRUE)
  > 
  > # set the soon-to-be-official-R-policy condition
  > Sys.setenv("_R_CHECK_LENGTH_1_CONDITION_" = TRUE)
  > 
  > test_check("readtext")
  Saving _problems/test-readtext-372.R
  Saving _problems/test-readtext-766.R
  [ FAIL 2 | WARN 3 | SKIP 9 | PASS 157 ]
  
  ══ Skipped tests (9) ═══════════════════════════════════════════════════════════
  • On CRAN (8): 'test-encoding.R:5:5', 'test-readtext.R:118:5',
    'test-readtext.R:503:5', 'test-readtext.R:556:5', 'test-readtext.R:630:5',
    'test-readtext.R:700:5', 'test-readtext.R:710:5', 'test-readtext.R:720:5'
  • skipping test of option setting when readtext is not attached (1):
    'test-readtext_options.R:32:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-readtext.R:372:5'): A single-level zip file containing txt files can be loaded ──
  Error in `utils::unzip(file, exdir = path)`: cannot open file '/tmp/RtmpgmTvh2/readtext-084a7deae8337a40ef08cf381367c13c/1817-Monroe.txt': No space left on device
  Backtrace:
      ▆
   1. └─readtext::readtext("../data/zip/inauguralTopLevel.zip") at test-readtext.R:372:5
   2.   └─readtext:::list_files(...)
   3.     ├─base::unlist(...)
   4.     └─base::lapply(...)
   5.       └─readtext (local) FUN(X[[i]], ...)
   6.         └─readtext:::list_file(...)
   7.           ├─readtext:::list_files(...)
   8.           └─readtext:::extract_archive(file, ignore_missing = ignore_missing)
   9.             └─utils::unzip(file, exdir = path)
  ── Error ('test-readtext.R:763:5'): messages from list_file ────────────────────
  Error in `utils::unzip(file, exdir = path)`: cannot open file '/tmp/RtmpgmTvh2/readtext-fa76698c23f5883b64fc45b2bf4f999d/1857-Buchanan.txt': No space left on device
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-readtext.R:763:5
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─readtext::readtext("../data/zip/inauguralTopLevel.zip", verbosity = 3)
    7.   └─readtext:::list_files(...)
    8.     ├─base::unlist(...)
    9.     └─base::lapply(...)
   10.       └─readtext (local) FUN(X[[i]], ...)
   11.         └─readtext:::list_file(...)
   12.           ├─readtext:::list_files(...)
   13.           └─readtext:::extract_archive(file, ignore_missing = ignore_missing)
   14.             └─utils::unzip(file, exdir = path)
  
  [ FAIL 2 | WARN 3 | SKIP 9 | PASS 157 ]
  Error:
  ! Test failures.
  Execution halted