Running ‘testthat.R’ [7s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(aopdata)
  > 
  > test_check("aopdata")
  
  Downloading: 780 B     
  Downloading: 780 B     
  Downloading: 1.2 kB     
  Downloading: 1.2 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.6 kB     
  Downloading: 1.7 kB     
  Downloading: 1.7 kB     
  Downloading: 1.8 kB     
  Downloading: 1.8 kB     
  Downloading: 1.8 kB     
  Downloading: 1.8 kB     
  Downloading: 1.8 kB     
  Downloading: 1.8 kB     
  Downloading: 1.8 kB     
  Downloading: 1.8 kB     
  Downloading: 1.9 kB     
  Downloading: 1.9 kB     
  Downloading: 1.9 kB     
  Downloading: 1.9 kB     
  Downloading: 1.9 kB     
  Downloading: 1.9 kB     
  Downloading: 2 kB     
  Downloading: 2 kB     
  Downloading: 2 kB     
  Downloading: 2 kB     
  Downloading: 2 kB     
  Downloading: 2 kB     
  Downloading: 2.1 kB     
  Downloading: 2.1 kB     
  Downloading: 2.1 kB     
  Downloading: 2.1 kB     
  Downloading: 2.1 kB     
  Downloading: 2.1 kB     
  Downloading: 2.2 kB     
  Downloading: 2.2 kB     
  Downloading: 2.5 kB     
  Downloading: 2.5 kB     
  Downloading: 2.5 kB     
  Downloading: 2.5 kB     
  Downloading: 11 kB     
  Downloading: 11 kB     
  Downloading: 11 kB     
  Downloading: 11 kB     
  Downloading: 11 kB     
  Downloading: 11 kB     
  Downloading: 19 kB     
  Downloading: 19 kB     
  Downloading: 19 kB     
  Downloading: 19 kB     
  Downloading: 19 kB     
  Downloading: 19 kB     
  Downloading: 27 kB     
  Downloading: 27 kB     
  Downloading: 27 kB     
  Downloading: 27 kB     
  Downloading: 27 kB     
  Downloading: 27 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 35 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 43 kB     
  Downloading: 51 kB     
  Downloading: 51 kB     
  Downloading: 51 kB     
  Downloading: 51 kB     
  Downloading: 51 kB     
  Downloading: 51 kB     
  Downloading: 59 kB     
  Downloading: 59 kB     
  Downloading: 59 kB     
  Downloading: 59 kB     
  Downloading: 59 kB     
  Downloading: 59 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 67 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 75 kB     
  Downloading: 83 kB     
  Downloading: 83 kB     
  Downloading: 83 kB     
  Downloading: 83 kB     
  Downloading: 83 kB     
  Downloading: 83 kB     
  Downloading: 83 kB     
  Downloading: 83 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 92 kB     
  Downloading: 98 kB     
  Downloading: 98 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 110 kB     
  Downloading: 120 kB     
  Downloading: 120 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
  Downloading: 130 kB     
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=                                                                     |   2%
    |                                                                            
    |==                                                                    |   3%
    |                                                                            
    |=====                                                                 |   7%
    |                                                                            
    |========                                                              |  11%
    |                                                                            
    |==========                                                            |  14%
    |                                                                            
    |=============                                                         |  18%
    |                                                                            
    |=================                                                     |  24%
    |                                                                            
    |===================                                                   |  27%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |==============================                                        |  43%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |=======================================                               |  55%
    |                                                                            
    |===========================================                           |  61%
    |                                                                            
    |=================================================                     |  70%
    |                                                                            
    |====================================================                  |  74%
    |                                                                            
    |=====================================================                 |  76%
    |                                                                            
    |============================================================          |  86%
    |                                                                            
    |===============================================================       |  90%
    |                                                                            
    |===================================================================   |  96%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===                                                                   |   4%
    |                                                                            
    |==========                                                            |  14%
    |                                                                            
    |===========                                                           |  16%
    |                                                                            
    |===================                                                   |  28%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |==========================                                            |  37%
    |                                                                            
    |=================================                                     |  47%
    |                                                                            
    |==================================                                    |  49%
    |                                                                            
    |======================================                                |  54%
    |                                                                            
    |============================================                          |  63%
    |                                                                            
    |==============================================                        |  65%
    |                                                                            
    |===============================================                       |  68%
    |                                                                            
    |=================================================                     |  70%
    |                                                                            
    |==========================================================            |  83%
    |                                                                            
    |===========================================================           |  84%
    |                                                                            
    |====================================================================  |  97%
    |                                                                            
    |======================================================================| 100%
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_read_access.R:11:5): read_access expected behavior ──────────────
  Error: Timeout was reached: [www.ipea.gov.br] Connection timed out after 10000 milliseconds
  Backtrace:
       █
    1. ├─testthat::expect_true(...) test_read_access.R:11:4
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─methods::is(read_access(city = "nat", geometry = TRUE), "sf")
    5. └─aopdata::read_access(city = "nat", geometry = TRUE)
    6.   └─aopdata::select_metadata(t = "access", c = city, y = year, m = mode)
    7.     ├─base::as.data.frame(download_metadata())
    8.     └─aopdata::download_metadata()
    9.       └─aopdata::check_connection(metadata_link)
   10.         ├─httr::http_error(httr::GET(file_url))
   11.         └─httr::GET(file_url)
   12.           └─httr:::request_perform(req, hu$handle$handle)
   13.             ├─httr:::request_fetch(req$output, req$url, handle)
   14.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   15.               └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ]
  Error: Test failures
  Execution halted