CRAN Package Check Results for Maintainer ‘Brenden Smith <smit2535 at msu.edu>’

Last updated on 2025-05-14 11:51:13 CEST.

Package ERROR OK
CDCPLACES 1 12

Package CDCPLACES

Current CRAN status: ERROR: 1, OK: 12

Additional issues

M1mac

Version: 1.1.9
Check: tests
Result: ERROR Running 'testthat.R' [12s] 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 `resp$status_code`: $ operator is invalid for atomic vectors Backtrace: ▆ 1. └─CDCPLACES:::test_check_api("https://data.cdc.gov/resource/swc5-untb.json") at test-get_places.R:8:3 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64