Running ‘testthat.R’ [2s/64s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(rgrass)
  GRASS GIS interface loaded with GRASS version: (GRASS not running)
  > 
  > test_check("rgrass")
  trying URL 'https://grass.osgeo.org/sampledata/north_carolina/nc_basic_spm_grass7.zip'
  Content type 'application/zip' length 50937243 bytes (48.6 MB)
  ==
  downloaded 2.0 MB
  
  Error in `FUN()`:
  ! In path: "/data/gannet/ripley/R/packages/tests-clang/rgrass.Rcheck/tests/testthat/setup.R"
  Caused by error in `download.file()`:
  ! download from 'https://grass.osgeo.org/sampledata/north_carolina/nc_basic_spm_grass7.zip' failed
  Backtrace:
       ▆
    1. ├─testthat::test_check("rgrass")
    2. │ └─testthat::test_dir(...)
    3. │   └─testthat:::test_files(...)
    4. │     └─testthat:::test_files_serial(...)
    5. │       └─testthat:::test_files_setup_state(...)
    6. │         └─testthat::source_test_setup(".", env)
    7. │           └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
    8. │             └─base::lapply(...)
    9. │               └─testthat (local) FUN(X[[i]], ...)
   10. │                 └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
   11. │                   ├─base::withCallingHandlers(...)
   12. │                   └─base::eval(exprs, env)
   13. │                     └─base::eval(exprs, env)
   14. │                       └─rgrass:::download_nc_basic() at tests/testthat/setup.R:1:1
   15. │                         └─utils::download.file(...) at tests/testthat/helper.R:9:5
   16. └─base::.handleSimpleError(...)
   17.   └─testthat (local) h(simpleError(msg, call))
   18.     └─rlang::abort(...)
  Warning messages:
  1: In download.file(paste(base_url, path_url, file_url, sep = "/"),  :
    downloaded length 2055929 != reported length 50937243
  2: In download.file(paste(base_url, path_url, file_url, sep = "/"),  :
    URL 'https://grass.osgeo.org/sampledata/north_carolina/nc_basic_spm_grass7.zip': Timeout of 60 seconds was reached
  Execution halted