Running 'spelling.R' [0s]
  Running 'testthat.R' [41s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(covidregionaldata)
  > source("testthat/custom_tests/mock_data.R")
  > 
  > test_check("covidregionaldata")
  -- Skip (test-get_afghan_regional_cases.R:2:3): get_afghan_regional_cases data s
  Reason: On CRAN
  
  -- Skip (test-get_afghan_regional_cases.R:11:3): get_afghan_regional_cases retur
  Reason: On CRAN
  
  -- Skip (test-get_afghan_regional_cases.R:23:3): get_afghan_regional_cases retur
  Reason: On CRAN
  
  -- Skip (test-get_belgium_regional_cases.R:2:3): get_belgium_regional_cases data
  Reason: On CRAN
  
  -- Skip (test-get_belgium_regional_cases.R:26:3): get_belgium_regional_cases ret
  Reason: On CRAN
  
  -- Skip (test-get_belgium_regional_cases.R:41:3): get_belgium_regional_cases ret
  Reason: On CRAN
  
  -- Skip (test-get_belgium_regional_cases.R:65:3): get_belgium_regional_cases ret
  Reason: On CRAN
  
  -- Skip (test-get_brazil_regional_cases.R:2:3): get_brazil_regional_cases data s
  Reason: On CRAN
  
  -- Skip (test-get_brazil_regional_cases.R:13:3): get_brazil_regional_cases retur
  Reason: On CRAN
  
  -- Skip (test-get_brazil_regional_cases.R:28:3): get_brazil_regional_cases retur
  Reason: On CRAN
  
  -- Skip (test-get_canada_regional_cases.R:2:3): get_canada_regional_cases data s
  Reason: On CRAN
  
  -- Skip (test-get_canada_regional_cases.R:13:3): get_canada_regional_cases retur
  Reason: On CRAN
  
  -- Skip (test-get_canada_regional_cases.R:24:3): get_canada_regional_cases retur
  Reason: On CRAN
  
  -- Skip (test-get_colombia_regional_cases.R:2:3): get_colombia_regional_cases da
  Reason: On CRAN
  
  -- Skip (test-get_germany_regional_cases.R:2:3): get_germany_regional_cases data
  Reason: On CRAN
  
  -- Skip (test-get_germany_regional_cases.R:14:3): get_germany_regional_cases ret
  Reason: On CRAN
  
  -- Skip (test-get_germany_regional_cases.R:29:3): get_germany_regional_cases ret
  Reason: On CRAN
  
  -- Skip (test-get_germany_regional_cases.R:51:3): get_germany_regional_cases ret
  Reason: On CRAN
  
  -- Skip (test-get_india_regional_cases.R:2:3): get_india_regional_cases data sou
  Reason: On CRAN
  
  -- Skip (test-get_india_regional_cases.R:15:3): get_india_regional_cases returns
  Reason: On CRAN
  
  -- Skip (test-get_india_regional_cases.R:26:3): get_india_regional_cases returns
  Reason: On CRAN
  
  -- Skip (test-get_interventions_data.R:2:3): get_interventions_data works as exp
  Reason: On CRAN
  
  -- Skip (test-get_italy_regional_cases.R:2:3): get_italy_regional_cases data sou
  Reason: On CRAN
  
  -- Skip (test-get_italy_regional_cases.R:13:3): get_italy_regional_cases returns
  Reason: On CRAN
  
  -- Skip (test-get_italy_regional_cases.R:25:3): get_italy_regional_cases returns
  Reason: On CRAN
  
  -- Skip (test-get_national_data.R:2:3): get_national_data returns ECDC data ----
  Reason: On CRAN
  
  -- Skip (test-get_national_data.R:13:3): get_national_data returns WHO data ----
  Reason: On CRAN
  
  -- Skip (test-get_national_data.R:25:3): get_ecdc_cases works as expected ------
  Reason: On CRAN
  
  -- Skip (test-get_national_data.R:45:3): get_who_cases works as expected -------
  Reason: On CRAN
  
  -- Skip (test-get_national_data.R:56:3): get_ecdc_cases returns a region for eve
  Reason: On CRAN
  
  -- Skip (test-get_national_data.R:72:3): get_who_cases returns a region for ever
  Reason: On CRAN
  
  -- Skip (test-get_regional_data.R:3:3): get_regional_data returns error if count
  Reason: On CRAN
  
  -- Skip (test-get_regional_data.R:13:3): get_regional_data returns error if tota
  Reason: On CRAN
  
  -- Skip (test-get_regional_data.R:19:3): get_regional_data returns error if tota
  Reason: On CRAN
  
  -- Skip (test-get_regional_data.R:28:3): get_regional_data returns correct time 
  Reason: On CRAN
  
  -- Skip (test-get_regional_data.R:45:3): get_regional_data returns correct time 
  Reason: On CRAN
  
  -- Skip (test-get_regional_data.R:66:3): get_regional_data returns correct total
  Reason: On CRAN
  
  -- Skip (test-get_regional_data.R:83:3): get_regional_data returns correct total
  Reason: On CRAN
  
  -- Skip (test-get_regional_data.R:106:3): get_regional_data returns correct unlo
  Reason: On CRAN
  
  -- Skip (test-get_uk_regional_cases.R:2:3): get_uk_regional_cases data source is
  Reason: On CRAN
  
  -- Skip (test-get_uk_regional_cases.R:13:3): get_uk_regional_cases returns the c
  Reason: On CRAN
  
  -- Skip (test-get_uk_regional_cases.R:26:3): get_uk_regional_cases returns corre
  Reason: On CRAN
  
  -- Skip (test-get_uk_regional_cases.R:45:3): get_uk_regional_cases returns corre
  Reason: On CRAN
  
  -- Skip (test-get_us_regional_cases.R:2:3): get_us_regional_cases data source is
  Reason: On CRAN
  
  -- Skip (test-get_us_regional_cases.R:16:3): get_us_regional_cases returns corre
  Reason: On CRAN
  
  -- Skip (test-get_us_regional_cases.R:33:3): get_us_regional_cases returns corre
  Reason: On CRAN
  
  -- FAILURE (test-utils.R:103:3): convert_to_Covid19R_format converts correctly -
  `returned` not equal to `expected_data`.
  Component "date": Modes: character, numeric
  Component "date": Attributes: < target is NULL, current is list >
  Component "date": target is character, current is factor
  Component "location": Modes: character, numeric
  Component "location": Attributes: < target is NULL, current is list >
  Component "location": target is character, current is factor
  
  -- Skipped tests  --------------------------------------------------------------
  * On CRAN (46)
  
  == testthat results  ===========================================================
  FAILURE (test-utils.R:103:3): convert_to_Covid19R_format converts correctly
  
  [ FAIL 1 | WARN 0 | SKIP 46 | PASS 22 ]
  Error: Test failures
  Execution halted