CRAN Package Check Results for Package epidatr

Last updated on 2024-12-21 15:50:06 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.33 48.40 52.73 ERROR
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

Version: 1.2.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘epidatr.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/epidatr.Rcheck/vign_test/epidatr/vignettes/epidatr_files/figure-html/unnamed-chunk-7-1.png 288x288 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 7934 bytes Input file size = 8792 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 7311 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 7311 Output IDAT size = 7311 bytes (623 bytes decrease) Output file size = 7389 bytes (1403 bytes = 15.96% decrease) ** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/epidatr.Rcheck/vign_test/epidatr/vignettes/epidatr_files/figure-html/unnamed-chunk-8-1.png 288x288 pixels, 3x8 bits/pixel, RGB Input IDAT size = 25266 bytes Input file size = 25380 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20453 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 20453 Output IDAT size = 20453 bytes (4813 bytes decrease) Output file size = 20531 bytes (4849 bytes = 19.11% decrease) --- finished re-building ‘epidatr.Rmd’ --- re-building ‘signal-discovery.Rmd’ using rmarkdown Quitting from lines 66-68 [unnamed-chunk-5] (signal-discovery.Rmd) 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 file failed: ‘signal-discovery.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc