Last updated on 2025-02-05 17:50:33 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
CDCPLACES | 1 | 5 | 7 |
Current CRAN status: ERROR: 1, NOTE: 5, OK: 7
Version: 1.1.8
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘get_dictionary.R’ ‘get_places.R’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Version: 1.1.8
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()
Status code:404
For full response code details visit: https://dev.socrata.com/docs/response-codes.html.
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.1.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/4s]
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")
Status code:404
Status code:404
Status code:404
Status code:404
Status code:404
Status code:404
Status code:404
Status code:404
Status code:404
For full response code details visit: https://dev.socrata.com/docs/response-codes.html.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-get_places.R:145:7'): query returns null with no internet ──────
Error in `stop_quietly()`:
Backtrace:
▆
1. ├─testthat::expect_null(get_places(state = "MI", measure = "SLEEP")) at test-get_places.R:145:7
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─CDCPLACES::get_places(state = "MI", measure = "SLEEP")
5. └─CDCPLACES:::check_api(base)
6. └─CDCPLACES (local) stop_quietly()
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64