CRAN Package Check Results for Package epidatr

Last updated on 2025-05-21 05:51:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 5.78 69.08 74.86 OK
r-devel-linux-x86_64-debian-gcc 1.2.1 3.42 47.96 51.38 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.1 127.48 NOTE
r-devel-linux-x86_64-fedora-gcc 1.2.1 132.31 NOTE
r-devel-windows-x86_64 1.2.1 8.00 122.00 130.00 OK
r-patched-linux-x86_64 1.2.1 7.21 64.30 71.51 OK
r-release-linux-x86_64 1.2.1 4.11 63.98 68.09 OK
r-release-macos-arm64 1.2.1 56.00 OK
r-release-macos-x86_64 1.2.1 92.00 OK
r-release-windows-x86_64 1.2.1 8.00 104.00 112.00 OK
r-oldrel-macos-arm64 1.2.1 54.00 OK
r-oldrel-macos-x86_64 1.2.1 86.00 OK
r-oldrel-windows-x86_64 1.2.1 11.00 116.00 127.00 OK

Check Details

Version: 1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/8s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(epidatr) > > test_check("epidatr") [ FAIL 2 | WARN 1 | SKIP 1 | PASS 321 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • This site is down. (1): 'test-request.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-covidcast.R:2:3'): covidcast ─────────────────────────────────── <http_500/http_error/error/condition> Error in `epidatr::covidcast_epidata()`: Internal Server Error (HTTP 500). Failed to fetch data from API : The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.. Backtrace: ▆ 1. └─epidatr::covidcast_epidata() at test-covidcast.R:2:3 2. └─httr::stop_for_status(response, task = msg) ── Error ('test-covidcast.R:33:3'): name completion ──────────────────────────── <http_500/http_error/error/condition> Error in `epidatr::covidcast_epidata()`: Internal Server Error (HTTP 500). Failed to fetch data from API : The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.. Backtrace: ▆ 1. └─epidatr::covidcast_epidata() at test-covidcast.R:33:3 2. └─httr::stop_for_status(response, task = msg) [ FAIL 2 | WARN 1 | SKIP 1 | PASS 321 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘epidatr.Rmd’ using rmarkdown Quitting from epidatr.Rmd:76-91 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'epidatr.Rmd' failed with diagnostics: epidata error: `database error: (builtins.AttributeError) 'NoneType' object has no attribute 'cursor' [SQL: SELECT t.geo_value, t.signal, t.time_value, t.direction, t.issue, t.lag, t.missing_value, t.missing_stderr, t.missing_sample_size, t.value, t.stderr, t.sample_size FROM epimetric_latest_v t WHERE ((t.source = %s AND (t.signal = %s))) AND ((t.geo_type = %s AND (t.geo_value = %s))) AND ((t.time_type = %s AND (t.time_value BETWEEN %s AND %s))) ORDER BY t.signal ASC, t.time_value ASC, t.geo_value ASC, t.issue ASC LIMIT 3651] [parameters: [{'source_0t': 'fb-survey', 'source_0t_0': 'smoothed_cli', 'geo_type_0t': 'nation', 'geo_type_0t_0': 'us', 'time_type_0t': 'day', 'time_type_0t_0': 20210105, 'time_type_0t_0_2': 20210410}]]` --- failed re-building ‘epidatr.Rmd’ --- re-building ‘signal-discovery.Rmd’ using rmarkdown Quitting from signal-discovery.Rmd:65-68 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `covidcast_epidata()`: ! Internal Server Error (HTTP 500). Failed to fetch data from API : The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.. --- Backtrace: ▆ 1. └─epidatr::covidcast_epidata() 2. └─httr::stop_for_status(response, task = msg) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'signal-discovery.Rmd' failed with diagnostics: Internal Server Error (HTTP 500). Failed to fetch data from API : The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.. --- failed re-building ‘signal-discovery.Rmd’ --- re-building ‘versioned-data.Rmd’ using rmarkdown --- finished re-building ‘versioned-data.Rmd’ SUMMARY: processing the following files failed: ‘epidatr.Rmd’ ‘signal-discovery.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.1
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘readr’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc