Running 'testthat.R' [22s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(readtext)
  > library(quanteda)
  Package version: 1.5.2
  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)  ----------------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
    1. testthat::expect_equal(...)
    5. readtext::readtext("https://raw.githubusercontent.com/kbenoit/readtext/master/tests/data/fox/fox.txt")
    6. readtext:::list_files(...)
    8. base::lapply(...)
    9. readtext:::FUN(X[[i]], ...)
   10. readtext:::list_file(...)
   12. readtext:::download_remote(file, ignore_missing, cache, verbosity)
   13. readtext:::cache_remote(url, ignore_missing, cache, name, verbosity)
   14. httr::GET(url, write_disk(path, overwrite = TRUE))
   15. httr:::request_perform(req, hu$handle$handle)
   17. httr:::request_fetch.write_disk(req$output, req$url, handle)
   18. curl::curl_fetch_disk(url, x$path, handle = handle)
  
  -- 2. Error: test remote csv file (@test-readtext.R#100)  ----------------------
  Could not resolve host: raw.githubusercontent.com
  Backtrace:
    1. testthat::expect_equal(...)
    5. readtext::readtext(...)
    6. readtext:::list_files(...)
    8. base::lapply(...)
    9. readtext:::FUN(X[[i]], ...)
   10. readtext:::list_file(...)
   12. readtext:::download_remote(file, ignore_missing, cache, verbosity)
   13. readtext:::cache_remote(url, ignore_missing, cache, name, verbosity)
   14. httr::GET(url, write_disk(path, overwrite = TRUE))
   15. httr:::request_perform(req, hu$handle$handle)
   17. httr:::request_fetch.write_disk(req$output, req$url, handle)
   18. curl::curl_fetch_disk(url, x$path, handle = handle)
  
  == testthat results  ===========================================================
  [ OK: 150 | SKIPPED: 13 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: test remote text file (@test-readtext.R#77) 
  2. Error: test remote csv file (@test-readtext.R#100) 
  
  Error: testthat unit tests failed
  Execution halted