Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(covid19br)
  > 
  > test_check("covid19br")
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_covid19br.R:18:1'): (code run outside of `test_that()`) ────────
  Error in `readRDS(url("https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true"))`: cannot open the connection to 'https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true'
  Backtrace:
      ▆
   1. ├─regions %>% filter(date == max(date)) %>% add_geo() %>% ... at test_covid19br.R:18:1
   2. ├─covid19br::add_epi_rates(.)
   3. │ └─data %>% ...
   4. ├─dplyr::mutate(...)
   5. └─covid19br::add_geo(.)
   6.   └─base::readRDS(url("https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true"))
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [3s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(covid19br)
  > 
  > test_check("covid19br")
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_covid19br.R:18:1'): (code run outside of `test_that()`) ────────
  Error in `readRDS(url("https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true"))`: cannot open the connection to 'https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true'
  Backtrace:
      ▆
   1. ├─regions %>% filter(date == max(date)) %>% add_geo() %>% ... at test_covid19br.R:18:1
   2. ├─covid19br::add_epi_rates(.)
   3. │ └─data %>% ...
   4. ├─dplyr::mutate(...)
   5. └─covid19br::add_geo(.)
   6.   └─base::readRDS(url("https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true"))
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(covid19br)
  > 
  > test_check("covid19br")
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_covid19br.R:18:1'): (code run outside of `test_that()`) ────────
  Error in `readRDS(url("https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true"))`: cannot open the connection to 'https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true'
  Backtrace:
      ▆
   1. ├─regions %>% filter(date == max(date)) %>% add_geo() %>% ... at test_covid19br.R:18:1
   2. ├─covid19br::add_epi_rates(.)
   3. │ └─data %>% ...
   4. ├─dplyr::mutate(...)
   5. └─covid19br::add_geo(.)
   6.   └─base::readRDS(url("https://github.com/dest-ufmg/covid19repo/blob/master/data/geoRegions.rds?raw=true"))
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted