CRAN Package Check Results for Package dhis2r

Last updated on 2024-05-17 03:57:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 4.51 50.04 54.55 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 4.14 37.05 41.19 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 72.09 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 101.78 OK
r-devel-windows-x86_64 0.1.1 7.00 63.00 70.00 OK
r-patched-linux-x86_64 0.1.1 5.65 47.17 52.82 ERROR
r-release-linux-x86_64 0.1.1 3.49 47.20 50.69 OK
r-release-macos-arm64 0.1.1 48.00 OK
r-release-windows-x86_64 0.1.1 7.00 61.00 68.00 OK
r-oldrel-macos-arm64 0.1.1 44.00 OK
r-oldrel-macos-x86_64 0.1.1 65.00 OK
r-oldrel-windows-x86_64 0.1.1 8.00 63.00 71.00 ERROR

Additional issues

MKL

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(dhis2r) > > test_check("dhis2r") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-connect.R:16:3'): user information is a charater vector ──────── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connect.R:16:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_user_info() 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:21:3'): Resource(s) "displayName","singular","plural","href" are return ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connect.R:21:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata() 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:26:3'): Type of result of a specific resouce is list ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-connect.R:26:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata(endpoint = "dataElements") 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:32:3'): Type of result of possible fields is a character vector ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-connect.R:32:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata_fields(endpoint = "dataElements") 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘dhis2r.Rmd’ using rmarkdown Quitting from lines 35-37 [unnamed-chunk-3] (dhis2r.Rmd) Error: processing vignette 'dhis2r.Rmd' failed with diagnostics: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". --- failed re-building ‘dhis2r.Rmd’ SUMMARY: processing the following file failed: ‘dhis2r.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(dhis2r) > > test_check("dhis2r") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-connect.R:16:3'): user information is a charater vector ──────── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connect.R:16:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_user_info() 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:21:3'): Resource(s) "displayName","singular","plural","href" are return ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connect.R:21:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata() 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:26:3'): Type of result of a specific resouce is list ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-connect.R:26:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata(endpoint = "dataElements") 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:32:3'): Type of result of possible fields is a character vector ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-connect.R:32:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata_fields(endpoint = "dataElements") 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘dhis2r.Rmd’ using rmarkdown Quitting from lines at lines 35-37 [unnamed-chunk-3] (dhis2r.Rmd) Error: processing vignette 'dhis2r.Rmd' failed with diagnostics: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". --- failed re-building ‘dhis2r.Rmd’ SUMMARY: processing the following file failed: ‘dhis2r.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-patched-linux-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [4s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(dhis2r) > > test_check("dhis2r") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-connect.R:16:3'): user information is a charater vector ──────── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connect.R:16:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_user_info() 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:21:3'): Resource(s) "displayName","singular","plural","href" are return ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connect.R:21:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata() 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:26:3'): Type of result of a specific resouce is list ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-connect.R:26:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata(endpoint = "dataElements") 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) ── Error ('test-connect.R:32:3'): Type of result of possible fields is a character vector ── Error in `resp_body_json(reponse, simplifyVector = TRUE)`: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. ├─testthat::expect_type(...) at test-connect.R:32:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─dhis2_play_connection$get_metadata_fields(endpoint = "dataElements") 5. └─httr2::resp_body_json(reponse, simplifyVector = TRUE) 6. └─httr2::resp_check_content_type(...) 7. └─httr2:::check_content_type(...) 8. └─cli::cli_abort(...) 9. └─rlang::abort(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'dhis2r.Rmd' using rmarkdown Quitting from lines at lines 35-37 [unnamed-chunk-3] (dhis2r.Rmd) Error: processing vignette 'dhis2r.Rmd' failed with diagnostics: Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". --- failed re-building 'dhis2r.Rmd' SUMMARY: processing the following file failed: 'dhis2r.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64