CRAN Package Check Results for Package CDCPLACES

Last updated on 2024-08-25 05:49:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.6 7.12 109.35 116.47 OK
r-devel-linux-x86_64-debian-gcc 1.1.6 4.93 76.57 81.50 OK
r-devel-linux-x86_64-fedora-clang 1.1.6 204.54 OK
r-devel-linux-x86_64-fedora-gcc 1.1.6 195.61 OK
r-devel-windows-x86_64 1.1.6 8.00 223.00 231.00 OK
r-patched-linux-x86_64 1.1.6 7.05 93.15 100.20 ERROR
r-release-linux-x86_64 1.1.6 7.03 104.61 111.64 OK
r-release-macos-arm64 1.1.6 166.00 OK
r-release-macos-x86_64 1.1.6 262.00 OK
r-release-windows-x86_64 1.1.6 8.00 244.00 252.00 OK
r-oldrel-macos-arm64 1.1.6 175.00 OK
r-oldrel-macos-x86_64 1.1.6 215.00 OK
r-oldrel-windows-x86_64 1.1.6 10.00 273.00 283.00 OK

Check Details

Version: 1.1.6
Check: tests
Result: ERROR Running ‘testthat.R’ [44s/186s] 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(CDCPLACES) > > test_check("CDCPLACES") [ FAIL 7 | WARN 0 | SKIP 0 | PASS 49 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_places.R:109:9'): function accesses census api 2023(one state, one measure) ── Error in `tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation))`: `data` must be a data frame, not an empty list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-get_places.R:109:9 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─CDCPLACES::get_places(...) 5. └─CDCPLACES:::parse_request(places1) 6. ├─dplyr::rename(...) 7. ├─tidyr::unnest_wider(...) 8. │ └─tidyr:::check_data_frame(data) 9. │ └─base::is.data.frame(x) 10. └─tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation)) 11. └─tidyr:::check_data_frame(data) 12. └─cli::cli_abort(...) 13. └─rlang::abort(...) ── Error ('test-get_places.R:116:9'): function accesses census api2020(multiple states, one measure) ── Error in `tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation))`: `data` must be a data frame, not an empty list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-get_places.R:116:9 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─CDCPLACES::get_places(...) 5. └─CDCPLACES:::parse_request(places1) 6. ├─dplyr::rename(...) 7. ├─tidyr::unnest_wider(...) 8. │ └─tidyr:::check_data_frame(data) 9. │ └─base::is.data.frame(x) 10. └─tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation)) 11. └─tidyr:::check_data_frame(data) 12. └─cli::cli_abort(...) 13. └─rlang::abort(...) ── Error ('test-get_places.R:116:9'): function accesses census api2021(multiple states, one measure) ── Error in `tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation))`: `data` must be a data frame, not an empty list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-get_places.R:116:9 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─CDCPLACES::get_places(...) 5. └─CDCPLACES:::parse_request(places1) 6. ├─dplyr::rename(...) 7. ├─tidyr::unnest_wider(...) 8. │ └─tidyr:::check_data_frame(data) 9. │ └─base::is.data.frame(x) 10. └─tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation)) 11. └─tidyr:::check_data_frame(data) 12. └─cli::cli_abort(...) 13. └─rlang::abort(...) ── Error ('test-get_places.R:116:9'): function accesses census api2022(multiple states, one measure) ── Error in `tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation))`: `data` must be a data frame, not an empty list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-get_places.R:116:9 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─CDCPLACES::get_places(...) 5. └─CDCPLACES:::parse_request(places1) 6. ├─dplyr::rename(...) 7. ├─tidyr::unnest_wider(...) 8. │ └─tidyr:::check_data_frame(data) 9. │ └─base::is.data.frame(x) 10. └─tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation)) 11. └─tidyr:::check_data_frame(data) 12. └─cli::cli_abort(...) 13. └─rlang::abort(...) ── Error ('test-get_places.R:116:9'): function accesses census api2023(multiple states, one measure) ── Error in `tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation))`: `data` must be a data frame, not an empty list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-get_places.R:116:9 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─CDCPLACES::get_places(...) 5. └─CDCPLACES:::parse_request(places1) 6. ├─dplyr::rename(...) 7. ├─tidyr::unnest_wider(...) 8. │ └─tidyr:::check_data_frame(data) 9. │ └─base::is.data.frame(x) 10. └─tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation)) 11. └─tidyr:::check_data_frame(data) 12. └─cli::cli_abort(...) 13. └─rlang::abort(...) ── Error ('test-get_places.R:133:9'): function access census api2023(multiple measures, multiple states), more states ── Error in `tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation))`: `data` must be a data frame, not an empty list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-get_places.R:133:9 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─CDCPLACES::get_places(...) 5. └─CDCPLACES:::parse_request(places1) 6. ├─dplyr::rename(...) 7. ├─tidyr::unnest_wider(...) 8. │ └─tidyr:::check_data_frame(data) 9. │ └─base::is.data.frame(x) 10. └─tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation)) 11. └─tidyr:::check_data_frame(data) 12. └─cli::cli_abort(...) 13. └─rlang::abort(...) ── Error ('test-get_places.R:139:9'): function access census api2023(multiple measures, multiple states), more measures ── Error in `tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation))`: `data` must be a data frame, not an empty list. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-get_places.R:139:9 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─CDCPLACES::get_places(...) 5. └─CDCPLACES:::parse_request(places1) 6. ├─dplyr::rename(...) 7. ├─tidyr::unnest_wider(...) 8. │ └─tidyr:::check_data_frame(data) 9. │ └─base::is.data.frame(x) 10. └─tidyr::unnest_wider(yyjsonr::read_json_str(httr2::resp_body_string(x)), col = c(geolocation)) 11. └─tidyr:::check_data_frame(data) 12. └─cli::cli_abort(...) 13. └─rlang::abort(...) [ FAIL 7 | WARN 0 | SKIP 0 | PASS 49 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64