CRAN Package Check Results for Package rdhs

Last updated on 2021-09-21 09:53:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.3 6.28 62.17 68.45 OK
r-devel-linux-x86_64-debian-gcc 0.7.3 5.82 47.38 53.20 OK
r-devel-linux-x86_64-fedora-clang 0.7.3 91.25 OK
r-devel-linux-x86_64-fedora-gcc 0.7.3 79.84 OK
r-devel-windows-x86_64 0.7.3 8.00 89.00 97.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.7.3 ERROR
r-patched-linux-x86_64 0.7.3 7.05 62.43 69.48 OK
r-patched-solaris-x86 0.7.3 111.00 OK
r-release-linux-x86_64 0.7.3 5.93 62.28 68.21 OK
r-release-macos-arm64 0.7.3 OK
r-release-macos-x86_64 0.7.3 OK
r-release-windows-ix86+x86_64 0.7.3 13.00 80.00 93.00 OK
r-oldrel-macos-x86_64 0.7.3 OK
r-oldrel-windows-ix86+x86_64 0.7.3 15.00 77.00 92.00 OK

Check Details

Version: 0.7.3
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     WARNING: installation-time patches will not be applied, could not get the patches index
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.7.3
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rdhs)
     >
     > Sys.setenv("rdhs_RENVIRON_PERMISSION" = 1)
     > test_check("rdhs")
     trying URL 'https://dhsprogram.com/data/model_data/dhs/zzmr61fl.zip'
     Content length 597481 bytes (583 KB)
     ==================================================
     downloaded 583 KB
    
     trying URL 'https://dhsprogram.com/data/model_data/hiv/zzar61fl.zip'
     Content length 81939 bytes (80 KB)
     ==================================================
     downloaded 80 KB
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • DHS has removed this file (possibly because of what it tested (1)
     • On CRAN (41)
     • empty test (1)
     • geojson test too heavy an API test (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_read_dhs_flat.R:40:3): datasets parse ─────────────────────────
     `read_dhs_flat("dumyzip.zip")` threw an error with unexpected message.
     Expected match: "metadata file not found"
     Actual message: "zip file 'dumyzip.zip' cannot be opened"
     Backtrace:
     █
     1. ├─testthat::expect_error(read_dhs_flat("dumyzip.zip"), "metadata file not found") test_read_dhs_flat.R:40:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat:::.capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. └─rdhs:::read_dhs_flat("dumyzip.zip")
     7. ├─base::grepl("\\.DCF$", unzip(zfile, list = TRUE)$Name, ignore.case = TRUE)
     8. │ └─base::is.factor(x)
     9. └─utils::unzip(zfile, list = TRUE)
    
     [ FAIL 1 | WARN 1 | SKIP 44 | PASS 31 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.7.3
Check: PDF version of manual
Result: WARN
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.7.3
Check: PDF version of manual without hyperrefs or index
Result: ERROR
    Re-running with no redirection of stdout/stderr.
Flavor: r-devel-windows-x86_64-gcc10-UCRT