CRAN Package Check Results for Package CDCPLACES

Last updated on 2024-05-01 16:52:49 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.5 9.48 68.53 78.01 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.5 6.24 91.37 97.61 OK
r-devel-linux-x86_64-fedora-clang 1.1.5 168.00 OK
r-devel-linux-x86_64-fedora-gcc 1.1.5 161.91 OK
r-devel-windows-x86_64 1.1.5 8.00 221.00 229.00 OK
r-patched-linux-x86_64 1.1.5 5.22 119.12 124.34 OK
r-release-linux-x86_64 1.1.5 7.72 120.65 128.37 OK
r-release-macos-arm64 1.1.5 194.00 OK
r-release-macos-x86_64 1.1.5 219.00 OK
r-release-windows-x86_64 1.1.5 8.00 222.00 230.00 OK
r-oldrel-macos-arm64 1.1.5 177.00 OK
r-oldrel-macos-x86_64 1.1.5 217.00 OK
r-oldrel-windows-x86_64 1.1.5 10.00 250.00 260.00 OK

Check Details

Version: 1.1.5
Check: examples
Result: ERROR Running examples in ‘CDCPLACES-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_dictionary > ### Title: View the 'CDC PLACES' data dictionary > ### Aliases: get_dictionary > > ### ** Examples > > # First save the data > dictionary <- get_dictionary() Error in curl::curl_fetch_memory(url, handle = handle) : URL rejected: Malformed input to a URL function Calls: get_dictionary ... request_fetch -> request_fetch.write_memory -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.5
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/14s] 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 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_places.R:8:3'): (code run outside of `test_that()`) ──────── Error in `curl::curl_fetch_memory(url, handle = handle)`: URL rejected: Malformed input to a URL function Backtrace: ▆ 1. └─CDCPLACES:::test_check_api("https://data.cdc.gov/resource/swc5-untb.json") at test-get_places.R:8:3 2. ├─httr::http_error(resp) 3. └─httr:::http_error.character(resp) 4. ├─httr::http_error(HEAD(x, ...)) 5. └─httr::HEAD(x, ...) 6. └─httr:::request_perform(req, hu$handle$handle) 7. ├─httr:::request_fetch(req$output, req$url, handle) 8. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 9. └─curl::curl_fetch_memory(url, handle = handle) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang