CRAN Package Check Results for Package dhis2r

Last updated on 2024-05-25 04:56:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 4.31 49.53 53.84 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 4.64 37.20 41.84 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 72.04 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 77.29 ERROR
r-devel-windows-x86_64 0.1.1 6.00 58.00 64.00 ERROR
r-patched-linux-x86_64 0.1.1 4.85 47.08 51.93 ERROR
r-release-linux-x86_64 0.1.1 4.67 47.41 52.08 ERROR
r-release-macos-arm64 0.1.1 48.00 OK
r-release-windows-x86_64 0.1.1 6.00 59.00 65.00 ERROR
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 7.00 167.00 174.00 ERROR

Check Details

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/6s] 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-clang

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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/6s] 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: tests
Result: ERROR Running ‘testthat.R’ 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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [3s] 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 Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

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 Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.1
Check: tests
Result: ERROR Running 'testthat.R' [86s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(dhis2r) > > test_check("dhis2r") [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-connect.R:9:3'): Can connect to DHIS2 instance ───────────────── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `req_perform(dhis2_play_connection$request_sent)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-connect.R:9:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─httr2::resp_status(req_perform(dhis2_play_connection$request_sent)) 5. │ └─httr2:::check_response(resp) 6. │ └─httr2:::is_response(resp) 7. └─httr2::req_perform(dhis2_play_connection$request_sent) 8. └─httr2:::handle_resp(req, resp, error_call = error_call) 9. └─httr2:::resp_abort(resp, req, body, call = error_call) 10. └─rlang::abort(...) ── Error ('test-connect.R:16:3'): user information is a charater vector ──────── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `req_perform(req_url_path_append(self$request_sent, "me"))`: HTTP 503 Service Unavailable. 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::req_perform(req_url_path_append(self$request_sent, "me")) 6. └─httr2:::handle_resp(req, resp, error_call = error_call) 7. └─httr2:::resp_abort(resp, req, body, call = error_call) 8. └─rlang::abort(...) ── Error ('test-connect.R:21:3'): Resource(s) "displayName","singular","plural","href" are return ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `req_perform(req_url_path_append(self$request_sent, "resources"))`: HTTP 503 Service Unavailable. 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::req_perform(req_url_path_append(self$request_sent, "resources")) 6. └─httr2:::handle_resp(req, resp, error_call = error_call) 7. └─httr2:::resp_abort(resp, req, body, call = error_call) 8. └─rlang::abort(...) ── Error ('test-connect.R:26:3'): Type of result of a specific resouce is list ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `req_perform(req_url_query(req_url_path_append(self$request_sent, endpoint), fields = paste0(fields, collapse = ",")))`: HTTP 503 Service Unavailable. 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::req_perform(...) 6. └─httr2:::handle_resp(req, resp, error_call = error_call) 7. └─httr2:::resp_abort(resp, req, body, call = error_call) 8. └─rlang::abort(...) ── Error ('test-connect.R:32:3'): Type of result of possible fields is a character vector ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `req_perform(req_url_query(req_url_query(req_url_query(req_url_path_append(self$request_sent, endpoint), fields = ":all"), paging = "true"), pageSize = "1"))`: HTTP 503 Service Unavailable. 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::req_perform(...) 6. └─httr2:::handle_resp(req, resp, error_call = error_call) 7. └─httr2:::resp_abort(resp, req, body, call = error_call) 8. └─rlang::abort(...) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1 ] 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 35-37 [unnamed-chunk-3] (dhis2r.Rmd) Error: processing vignette 'dhis2r.Rmd' failed with diagnostics: HTTP 503 Service Unavailable. --- 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