CRAN Package Check Results for Package canadacovid

Last updated on 2023-04-16 09:59:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.4 6.72 60.90 67.62 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.4 5.43 47.78 53.21 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.4 113.37 OK
r-devel-linux-x86_64-fedora-gcc 0.3.4 83.14 ERROR
r-devel-macos-arm64 0.3.4 451.00 OK
r-devel-macos-x86_64 0.3.4 465.00 OK
r-devel-windows-x86_64 0.3.4 9.00 387.00 396.00 ERROR
r-patched-linux-x86_64 0.3.4 6.63 59.50 66.13 ERROR
r-release-linux-x86_64 0.3.4 6.68 81.97 88.65 OK
r-release-macos-arm64 0.3.4 450.00 OK
r-release-macos-x86_64 0.3.4 467.00 OK
r-release-windows-x86_64 0.3.4 9.00 484.00 493.00 ERROR
r-oldrel-macos-arm64 0.3.4 447.00 OK
r-oldrel-macos-x86_64 0.3.4 471.00 OK
r-oldrel-windows-ix86+x86_64 0.3.4 14.00 494.00 508.00 ERROR

Additional issues

OpenBLAS

Check Details

Version: 0.3.4
Check: examples
Result: ERROR
    Running examples in ‘canadacovid-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: get_provinces
    > ### Title: Get provinces and territories
    > ### Aliases: get_provinces
    >
    > ### ** Examples
    >
    >
    > get_provinces()
    Error: API requested failed with code 500
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9s/220s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(canadacovid)
     >
     > test_check("canadacovid")
     [ FAIL 6 | WARN 0 | SKIP 0 | PASS 23 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-provinces.R:3:3'): get_provinces ───────────────────────────────
     Error: API requested failed with code 500
     Backtrace:
     ▆
     1. └─canadacovid::get_provinces() at test-provinces.R:3:2
     2. └─canadacovid::get_content_parsed(url)
     ── Error ('test-regions.R:3:3'): get_regions works ─────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_regions() at test-regions.R:3:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-regions.R:19:3'): get_subregions works ─────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregions() at test-regions.R:19:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-reports.R:13:3'): get_reports works ────────────────────────────
     Error: API requested failed with code 500
     Backtrace:
     ▆
     1. └─canadacovid::get_provinces() at test-reports.R:13:2
     2. └─canadacovid::get_content_parsed(url)
     ── Error ('test-vaccination.R:28:3'): get_subregion_vaccination_data works ─────
     Error: API requested failed with code 500
     Backtrace:
     ▆
     1. └─canadacovid::get_subregion_vaccination_data() at test-vaccination.R:28:2
     2. └─canadacovid::get_content_parsed(url)
     ── Error ('test-vaccine-age-groups.R:3:3'): get_vaccine_age_groups works ───────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_vaccine_age_groups() at test-vaccine-age-groups.R:3:2
     2. │ ├─... %>% ...
     3. │ └─purrr::map_dfr(...)
     4. │ └─purrr::map(.x, .f, ...)
     5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     6. │ ├─purrr:::with_indexed_errors(...)
     7. │ │ └─base::withCallingHandlers(...)
     8. │ ├─purrr:::call_with_cleanup(...)
     9. │ └─canadacovid (local) .f(.x[[i]], ...)
     10. │ └─canadacovid::get_content_parsed(url)
     11. │ └─base::stop(...)
     12. ├─dplyr::mutate(...)
     13. ├─tidyr::unnest(., .data$data)
     14. ├─dplyr::mutate(...)
     15. └─base::.handleSimpleError(...)
     16. └─purrr (local) h(simpleError(msg, call))
     17. └─cli::cli_abort(...)
     18. └─rlang::abort(...)
    
     [ FAIL 6 | WARN 0 | SKIP 0 | PASS 23 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.4
Check: examples
Result: ERROR
    Running examples in ‘canadacovid-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: get_regions
    > ### Title: Get health regions
    > ### Aliases: get_regions
    >
    > ### ** Examples
    >
    >
    > get_regions()
    Error in `map()`:
    ℹ In index: 1.
    Caused by error:
    ! API requested failed with code 500
    Backtrace:
     ▆
     1. ├─canadacovid::get_regions()
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/304s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(canadacovid)
     >
     > test_check("canadacovid")
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 40 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-regions.R:3:3'): get_regions works ─────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_regions() at test-regions.R:3:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-regions.R:24:3'): get_subregions works ─────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregions(c("ON322", "SK010", "MB029", "test")) at test-regions.R:24:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-reports.R:44:3'): get_reports works ────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_reports(split = "province", stat = "criticals") at test-reports.R:44:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-vaccination.R:38:3'): get_subregion_vaccination_data works ─────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregion_vaccination_data(...) at test-vaccination.R:38:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-vaccine-age-groups.R:3:3'): get_vaccine_age_groups works ───────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_vaccine_age_groups() at test-vaccine-age-groups.R:3:2
     2. │ ├─... %>% ...
     3. │ └─purrr::map_dfr(...)
     4. │ └─purrr::map(.x, .f, ...)
     5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     6. │ ├─purrr:::with_indexed_errors(...)
     7. │ │ └─base::withCallingHandlers(...)
     8. │ ├─purrr:::call_with_cleanup(...)
     9. │ └─canadacovid (local) .f(.x[[i]], ...)
     10. │ └─canadacovid::get_content_parsed(url)
     11. │ └─base::stop(...)
     12. ├─dplyr::mutate(...)
     13. ├─tidyr::unnest(., .data$data)
     14. ├─dplyr::mutate(...)
     15. └─base::.handleSimpleError(...)
     16. └─purrr (local) h(simpleError(msg, call))
     17. └─cli::cli_abort(...)
     18. └─rlang::abort(...)
    
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 40 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.4
Check: examples
Result: ERROR
    Running examples in ‘canadacovid-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get_regions
    > ### Title: Get health regions
    > ### Aliases: get_regions
    >
    > ### ** Examples
    >
    >
    > get_regions()
    Error in `map()`:
    ℹ In index: 1.
    Caused by error:
    ! API requested failed with code 500
    Backtrace:
     ▆
     1. ├─canadacovid::get_regions()
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [13s/306s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(canadacovid)
     >
     > test_check("canadacovid")
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 40 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-regions.R:3:3'): get_regions works ─────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_regions() at test-regions.R:3:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-regions.R:24:3'): get_subregions works ─────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregions(c("ON322", "SK010", "MB029", "test")) at test-regions.R:24:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-reports.R:44:3'): get_reports works ────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_reports(split = "province", stat = "criticals") at test-reports.R:44:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-vaccination.R:38:3'): get_subregion_vaccination_data works ─────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregion_vaccination_data(...) at test-vaccination.R:38:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-vaccine-age-groups.R:3:3'): get_vaccine_age_groups works ───────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_vaccine_age_groups() at test-vaccine-age-groups.R:3:2
     2. │ ├─... %>% ...
     3. │ └─purrr::map_dfr(...)
     4. │ └─purrr::map(.x, .f, ...)
     5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     6. │ ├─purrr:::with_indexed_errors(...)
     7. │ │ └─base::withCallingHandlers(...)
     8. │ ├─purrr:::call_with_cleanup(...)
     9. │ └─canadacovid (local) .f(.x[[i]], ...)
     10. │ └─canadacovid::get_content_parsed(url)
     11. │ └─base::stop(...)
     12. ├─dplyr::mutate(...)
     13. ├─tidyr::unnest(., .data$data)
     14. ├─dplyr::mutate(...)
     15. └─base::.handleSimpleError(...)
     16. └─purrr (local) h(simpleError(msg, call))
     17. └─cli::cli_abort(...)
     18. └─rlang::abort(...)
    
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 40 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.4
Check: tests
Result: ERROR
     Running 'testthat.R' [314s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(canadacovid)
     >
     > test_check("canadacovid")
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 40 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-regions.R:3:3'): get_regions works ─────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_regions() at test-regions.R:3:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-regions.R:24:3'): get_subregions works ─────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregions(c("ON322", "SK010", "MB029", "test")) at test-regions.R:24:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-reports.R:44:3'): get_reports works ────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_reports(split = "province", stat = "criticals") at test-reports.R:44:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-vaccination.R:38:3'): get_subregion_vaccination_data works ─────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregion_vaccination_data(...) at test-vaccination.R:38:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-vaccine-age-groups.R:3:3'): get_vaccine_age_groups works ───────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_vaccine_age_groups() at test-vaccine-age-groups.R:3:2
     2. │ ├─... %>% ...
     3. │ └─purrr::map_dfr(...)
     4. │ └─purrr::map(.x, .f, ...)
     5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     6. │ ├─purrr:::with_indexed_errors(...)
     7. │ │ └─base::withCallingHandlers(...)
     8. │ ├─purrr:::call_with_cleanup(...)
     9. │ └─canadacovid (local) .f(.x[[i]], ...)
     10. │ └─canadacovid::get_content_parsed(url)
     11. │ └─base::stop(...)
     12. ├─dplyr::mutate(...)
     13. ├─tidyr::unnest(., .data$data)
     14. ├─dplyr::mutate(...)
     15. └─base::.handleSimpleError(...)
     16. └─purrr (local) h(simpleError(msg, call))
     17. └─cli::cli_abort(...)
     18. └─rlang::abort(...)
    
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 40 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 0.3.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [11s/304s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(canadacovid)
     >
     > test_check("canadacovid")
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 40 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-regions.R:3:3'): get_regions works ─────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_regions() at test-regions.R:3:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-regions.R:24:3'): get_subregions works ─────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregions(c("ON322", "SK010", "MB029", "test")) at test-regions.R:24:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-reports.R:44:3'): get_reports works ────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_reports(split = "province", stat = "criticals") at test-reports.R:44:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-vaccination.R:38:3'): get_subregion_vaccination_data works ─────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_subregion_vaccination_data(...) at test-vaccination.R:38:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
     ── Error ('test-vaccine-age-groups.R:3:3'): get_vaccine_age_groups works ───────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_vaccine_age_groups() at test-vaccine-age-groups.R:3:2
     2. │ ├─... %>% ...
     3. │ └─purrr::map_dfr(...)
     4. │ └─purrr::map(.x, .f, ...)
     5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     6. │ ├─purrr:::with_indexed_errors(...)
     7. │ │ └─base::withCallingHandlers(...)
     8. │ ├─purrr:::call_with_cleanup(...)
     9. │ └─canadacovid (local) .f(.x[[i]], ...)
     10. │ └─canadacovid::get_content_parsed(url)
     11. │ └─base::stop(...)
     12. ├─dplyr::mutate(...)
     13. ├─tidyr::unnest(., .data$data)
     14. ├─dplyr::mutate(...)
     15. └─base::.handleSimpleError(...)
     16. └─purrr (local) h(simpleError(msg, call))
     17. └─cli::cli_abort(...)
     18. └─rlang::abort(...)
    
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 40 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.3.4
Check: tests
Result: ERROR
     Running 'testthat.R' [410s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(canadacovid)
     >
     > test_check("canadacovid")
     [ FAIL 1 | WARN 6 | SKIP 0 | PASS 58 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-regions.R:3:3'): get_regions works ─────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     ▆
     1. ├─canadacovid::get_regions() at test-regions.R:3:2
     2. │ └─purrr::map_dfr(...)
     3. │ └─purrr::map(.x, .f, ...)
     4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. │ ├─purrr:::with_indexed_errors(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ ├─purrr:::call_with_cleanup(...)
     8. │ └─canadacovid (local) .f(.x[[i]], ...)
     9. │ └─canadacovid::get_content_parsed(url)
     10. │ └─base::stop(...)
     11. └─base::.handleSimpleError(...)
     12. └─purrr (local) h(simpleError(msg, call))
     13. └─cli::cli_abort(...)
     14. └─rlang::abort(...)
    
     [ FAIL 1 | WARN 6 | SKIP 0 | PASS 58 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64

Version: 0.3.4
Check: examples
Result: ERROR
    Running examples in 'canadacovid-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: get_regions
    > ### Title: Get health regions
    > ### Aliases: get_regions
    >
    > ### ** Examples
    >
    >
    > get_regions()
    Error in `map()`:
    i In index: 1.
    Caused by error:
    ! API requested failed with code 500
    Backtrace:
     x
     1. +-canadacovid::get_regions()
     2. | \-purrr::map_dfr(...)
     3. | \-purrr::map(.x, .f, ...)
     4. | \-purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. | +-purrr:::with_indexed_errors(...)
     6. | | \-base::withCallingHandlers(...)
     7. | +-purrr:::call_with_cleanup(...)
     8. | \-canadacovid (local) .f(.x[[i]], ...)
     9. | \-canadacovid::get_content_parsed(url)
     10. | \-base::stop(...)
     11. \-base::.handleSimpleError(...)
     12. \-purrr (local) h(simpleError(msg, call))
     13. \-cli::cli_abort(...)
     14. \-rlang::abort(...)
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.3.4
Check: tests
Result: ERROR
     Running 'testthat.R' [413s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(canadacovid)
     >
     > test_check("canadacovid")
     Initiating curl with CURL_SSL_BACKEND: openssl
     [ FAIL 1 | WARN 6 | SKIP 0 | PASS 58 ]
    
     == Failed tests ================================================================
     -- Error ('test-regions.R:3:3'): get_regions works -----------------------------
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `map(.x, .f, ...)`: i In index: 1.
     Caused by error:
     ! API requested failed with code 500
     Backtrace:
     x
     1. +-canadacovid::get_regions() at test-regions.R:3:2
     2. | \-purrr::map_dfr(...)
     3. | \-purrr::map(.x, .f, ...)
     4. | \-purrr:::map_("list", .x, .f, ..., .progress = .progress)
     5. | +-purrr:::with_indexed_errors(...)
     6. | | \-base::withCallingHandlers(...)
     7. | +-purrr:::call_with_cleanup(...)
     8. | \-canadacovid (local) .f(.x[[i]], ...)
     9. | \-canadacovid::get_content_parsed(url)
     10. | \-base::stop(...)
     11. \-base::.handleSimpleError(...)
     12. \-purrr (local) h(simpleError(msg, call))
     13. \-cli::cli_abort(...)
     14. \-rlang::abort(...)
    
     [ FAIL 1 | WARN 6 | SKIP 0 | PASS 58 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64