CRAN Package Check Results for Package epidatr

Last updated on 2024-12-22 03:49:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 6.22 64.53 70.75 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.0 4.42 50.46 54.88 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 126.18 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 132.82 OK
r-devel-windows-x86_64 1.2.0 9.00 114.00 123.00 OK
r-patched-linux-x86_64 1.2.0 7.00 64.21 71.21 OK
r-release-linux-x86_64 1.2.0 5.51 63.86 69.37 OK
r-release-macos-arm64 1.2.0 59.00 OK
r-release-macos-x86_64 1.2.0 126.00 OK
r-release-windows-x86_64 1.2.0 11.00 105.00 116.00 OK
r-oldrel-macos-arm64 1.2.0 74.00 OK
r-oldrel-macos-x86_64 1.2.0 115.00 OK
r-oldrel-windows-x86_64 1.2.0 9.00 112.00 121.00 OK

Check Details

Version: 1.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/10s] 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 2 | PASS 228 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • empty test (2): 'test-endpoints.R:1:1', 'test-utils.R:24:1' ══ 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 2 | PASS 228 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.2.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘epidatr.Rmd’ using rmarkdown Quitting from lines 77-91 [unnamed-chunk-2] (epidatr.Rmd) 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 --- finished re-building ‘signal-discovery.Rmd’ --- re-building ‘versioned-data.Rmd’ using rmarkdown --- finished re-building ‘versioned-data.Rmd’ SUMMARY: processing the following file failed: ‘epidatr.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang