Running 'testthat.R' [39s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(readtext)
  > library(quanteda)
  Package version: 1.5.1
  Parallel computing: 2 of 32 threads used.
  See https://quanteda.io for tutorials and examples.
  
  Attaching package: 'quanteda'
  
  The following object is masked from 'package:utils':
  
      View
  
  > 
  > # 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")
  -- 1. Error: test remote text file (@test-readtext.R#77)  ----------------------
  OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
  1: expect_equal(texts(readtext("https://raw.githubusercontent.com/kbenoit/readtext/master/tests/data/fox/fox.txt")), 
         c(fox.txt = "The quick brown fox jumps over the lazy dog.")) at testthat/test-readtext.R:77
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: texts(readtext("https://raw.githubusercontent.com/kbenoit/readtext/master/tests/data/fox/fox.txt"))
  5: readtext("https://raw.githubusercontent.com/kbenoit/readtext/master/tests/data/fox/fox.txt")
  6: list_files(file, ignore_missing_files, FALSE, cache, verbosity)
  7: unlist(lapply(x, function(x) list_file(x, ignore_missing, last_round, list_file, 
         verbosity)))
  8: lapply(x, function(x) list_file(x, ignore_missing, last_round, list_file, verbosity))
  9: FUN(X[[i]], ...)
  10: list_file(x, ignore_missing, last_round, list_file, verbosity)
  11: list_files(download_remote(file, ignore_missing, cache, verbosity), ignore_missing, 
         FALSE, verbosity)
  12: download_remote(file, ignore_missing, cache, verbosity)
  13: cache_remote(url, ignore_missing, cache, name, verbosity)
  14: GET(url, write_disk(path, overwrite = TRUE))
  15: request_perform(req, hu$handle$handle)
  16: request_fetch(req$output, req$url, handle)
  17: request_fetch.write_disk(req$output, req$url, handle)
  18: curl::curl_fetch_disk(url, x$path, handle = handle)
  
  == testthat results  ===========================================================
  [ OK: 151 | SKIPPED: 13 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: test remote text file (@test-readtext.R#77) 
  
  Error: testthat unit tests failed
  Execution halted