Running 'testthat.R' [15s/31s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(readtext)
  > library(quanteda)
  Package version: 3.2.0
  Unicode version: 13.0
  ICU version: 67.1
  Parallel computing: 4 of 32 threads used.
  See https://quanteda.io for tutorials and examples.
  > 
  > # 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")
  == Skipped tests ===============================================================
  * On CRAN (8)
  * empty test (1)
  * skipping test of option setting when readtext is not attached (1)
  
  == Failed tests ================================================================
  -- Error (test-readtext.R:77:5): test remote text file -------------------------
  <http_503/http_500/http_error/error/condition>
  Error in `cache_remote(url, ignore_missing, cache, name, verbosity)`: Service Unavailable (HTTP 503).
  Backtrace:
       x
    1. +-testthat::expect_equal(...) test-readtext.R:77:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-quanteda::texts(readtext("https://raw.githubusercontent.com/kbenoit/readtext/master/tests/data/fox/fox.txt"))
    5. \-readtext::readtext("https://raw.githubusercontent.com/kbenoit/readtext/master/tests/data/fox/fox.txt")
    6.   \-readtext:::list_files(...)
    7.     +-base::unlist(...)
    8.     \-base::lapply(...)
    9.       \-readtext:::FUN(X[[i]], ...)
   10.         \-readtext:::list_file(...)
   11.           +-readtext:::list_files(...)
   12.           \-readtext:::download_remote(file, ignore_missing, cache, verbosity)
   13.             \-readtext:::cache_remote(url, ignore_missing, cache, name, verbosity)
   14.               \-httr::stop_for_status(r)
  -- Error (test-readtext.R:100:5): test remote csv file -------------------------
  <http_503/http_500/http_error/error/condition>
  Error in `cache_remote(url, ignore_missing, cache, name, verbosity)`: Service Unavailable (HTTP 503).
  Backtrace:
       x
    1. +-testthat::expect_equal(...) test-readtext.R:100:4
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-quanteda::texts(...)
    5. \-readtext::readtext(...)
    6.   \-readtext:::list_files(...)
    7.     +-base::unlist(...)
    8.     \-base::lapply(...)
    9.       \-readtext:::FUN(X[[i]], ...)
   10.         \-readtext:::list_file(...)
   11.           +-readtext:::list_files(...)
   12.           \-readtext:::download_remote(file, ignore_missing, cache, verbosity)
   13.             \-readtext:::cache_remote(url, ignore_missing, cache, name, verbosity)
   14.               \-httr::stop_for_status(r)
  
  [ FAIL 2 | WARN 0 | SKIP 10 | PASS 155 ]
  Error: Test failures
  Execution halted