Last updated on 2024-05-02 09:52:48 CEST.
Package | ERROR | OK |
---|---|---|
CDCPLACES | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.