CRAN Package Check Results for Package khisr

Last updated on 2024-06-27 08:49:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 OK
r-devel-linux-x86_64-debian-gcc 1.0.4 6.02 53.22 59.24 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.4 103.21 OK
r-devel-linux-x86_64-fedora-gcc 1.0.4 107.90 OK
r-devel-windows-x86_64 1.0.4 8.00 73.00 81.00 OK
r-patched-linux-x86_64 1.0.4 9.39 69.33 78.72 OK
r-release-linux-x86_64 1.0.4 5.66 67.19 72.85 OK
r-release-macos-arm64 1.0.4 42.00 OK
r-release-macos-x86_64 1.0.4 107.00 OK
r-release-windows-x86_64 1.0.4 9.00 75.00 84.00 OK
r-oldrel-macos-arm64 1.0.4 47.00 OK
r-oldrel-macos-x86_64 1.0.4 76.00 OK
r-oldrel-windows-x86_64 1.0.4 13.00 83.00 96.00 OK

Check Details

Version: 1.0.4
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/1s] Running ‘testthat.R’ [5s/7s] 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(khisr) > > test_check("khisr") [ FAIL 5 | WARN 3 | SKIP 8 | PASS 103 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • No DHIS2 credentials (7): 'test-get_analytics.R:3:5', 'test-get_analytics_by_level.R:3:5', 'test-get_data_elements_with_category_options.R:3:5', 'test-get_data_sets_by_level.R:3:5', 'test-get_metadata.R:3:5', 'test-get_metadata_helpers.R:3:5', 'test-get_organisations_by_level.R:3:5' • On CRAN (1): 'test-AuthCred-class.R:3:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-khis_cred.R:41:5'): khis_cred works correctly using configuration file ── khis_has_cred() is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-khis_cred.R:43:5'): khis_cred works correctly using configuration file ── khis_username() (`actual`) not equal to "admin" (`expected`). `actual` is NULL `expected` is a character vector ('admin') ── Failure ('test-khis_cred.R:63:5'): khis_cred works correctly using configuration file ── khis_has_cred() is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-khis_cred.R:65:5'): khis_cred works correctly using configuration file ── khis_username() (`actual`) not equal to "admin" (`expected`). `actual` is NULL `expected` is a character vector ('admin') ── Failure ('test-khis_cred.R:85:5'): req_auth_khis_basic works correctly ────── Expected `httr2::request("https://example.com") %>% req_auth_khis_basic()` to run without any errors. i Actually got a <khis_missing_credentials> with text: x Missing credentials ! Please set the credentials by calling `khis_cred()` [ FAIL 5 | WARN 3 | SKIP 8 | PASS 103 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc