Last updated on 2024-06-29 12:48:19 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.5 | 10.00 | 69.76 | 79.76 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.5 | 6.79 | 53.01 | 59.80 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.5 | 103.61 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.5 | 105.86 | OK | |||
r-devel-windows-x86_64 | 1.0.5 | 10.00 | 73.00 | 83.00 | OK | |
r-patched-linux-x86_64 | 1.0.4 | 9.09 | 68.27 | 77.36 | ERROR | |
r-release-linux-x86_64 | 1.0.4 | 5.66 | 67.19 | 72.85 | OK | |
r-release-macos-arm64 | 1.0.5 | 43.00 | OK | |||
r-release-macos-x86_64 | 1.0.5 | 73.00 | OK | |||
r-release-windows-x86_64 | 1.0.4 | 9.00 | 74.00 | 83.00 | OK | |
r-oldrel-macos-arm64 | 1.0.5 | 61.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.5 | 74.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.5 | 12.00 | 82.00 | 94.00 | OK |
Version: 1.0.4
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [6s/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/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-patched-linux-x86_64