CRAN Package Check Results for Package wbwdi

Last updated on 2025-03-01 06:51:27 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 4.15 48.64 52.79 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 3.19 35.61 38.80 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 86.70 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 92.66 OK
r-devel-macos-arm64 1.0.0 36.00 OK
r-devel-macos-x86_64 1.0.0 70.00 OK
r-devel-windows-x86_64 1.0.0 6.00 78.00 84.00 OK
r-release-linux-x86_64 1.0.0 4.59 44.96 49.55 OK
r-release-macos-arm64 1.0.0 49.00 OK
r-release-macos-x86_64 1.0.0 64.00 OK
r-oldrel-macos-arm64 1.0.0 43.00 ERROR
r-oldrel-macos-x86_64 1.0.0 80.00 ERROR
r-oldrel-windows-x86_64 1.0.0 7.00 83.00 90.00 ERROR

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/5s] 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(wbwdi) > > test_check("wbwdi") [ FAIL 1 | WARN 0 | SKIP 25 | PASS 108 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (25): 'tests-perform_request.R:24:3', 'tests-perform_request.R:31:3', 'tests-perform_request.R:93:3', 'tests-wdi_get.R:47:3', 'tests-wdi_get.R:62:3', 'tests-wdi_get.R:78:3', 'tests-wdi_get.R:85:3', 'tests-wdi_get.R:95:3', 'tests-wdi_get.R:105:3', 'tests-wdi_get.R:126:3', 'tests-wdi_get_entities.R:20:3', 'tests-wdi_get_entities.R:77:3', 'tests-wdi_get_income_levels.R:2:3', 'tests-wdi_get_income_levels.R:31:3', 'tests-wdi_get_indicators.R:20:3', 'tests-wdi_get_indicators.R:62:3', 'tests-wdi_get_languages.R:2:3', 'tests-wdi_get_lending_types.R:8:3', 'tests-wdi_get_lending_types.R:56:3', 'tests-wdi_get_regions.R:8:3', 'tests-wdi_get_regions.R:75:3', 'tests-wdi_get_sources.R:8:3', 'tests-wdi_get_sources.R:92:3', 'tests-wdi_get_topics.R:8:3', 'tests-wdi_get_topics.R:69:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests-wdi_search.R:14:3'): wdi_search returns rows with specified keywords in any column ── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map_lgl(seq_len(nrow(data)), function(i) { any(purrr::map_lgl(data[columns_to_search], ~{ col_value <- .x[[i]] if (is.list(col_value) && length(col_value) > 0) { any(purrr::map_lgl(unlist(col_value, recursive = TRUE, use.names = FALSE), ~contains_keyword(., keywords) %||% FALSE)) } else if (!is.null(col_value) && length(col_value) > 0) { contains_keyword(col_value, keywords) %||% FALSE } else { FALSE } })) })`: i In index: 1. Caused by error in `purrr::map_lgl()`: i In index: 1. i With name: id. Caused by error in `contains_keyword(col_value, keywords) %||% FALSE`: ! could not find function "%||%" [ FAIL 1 | WARN 0 | SKIP 25 | PASS 108 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-arm64

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/6s] 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(wbwdi) > > test_check("wbwdi") [ FAIL 1 | WARN 0 | SKIP 25 | PASS 108 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (25): 'tests-perform_request.R:24:3', 'tests-perform_request.R:31:3', 'tests-perform_request.R:93:3', 'tests-wdi_get.R:47:3', 'tests-wdi_get.R:62:3', 'tests-wdi_get.R:78:3', 'tests-wdi_get.R:85:3', 'tests-wdi_get.R:95:3', 'tests-wdi_get.R:105:3', 'tests-wdi_get.R:126:3', 'tests-wdi_get_entities.R:20:3', 'tests-wdi_get_entities.R:77:3', 'tests-wdi_get_income_levels.R:2:3', 'tests-wdi_get_income_levels.R:31:3', 'tests-wdi_get_indicators.R:20:3', 'tests-wdi_get_indicators.R:62:3', 'tests-wdi_get_languages.R:2:3', 'tests-wdi_get_lending_types.R:8:3', 'tests-wdi_get_lending_types.R:56:3', 'tests-wdi_get_regions.R:8:3', 'tests-wdi_get_regions.R:75:3', 'tests-wdi_get_sources.R:8:3', 'tests-wdi_get_sources.R:92:3', 'tests-wdi_get_topics.R:8:3', 'tests-wdi_get_topics.R:69:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests-wdi_search.R:14:3'): wdi_search returns rows with specified keywords in any column ── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map_lgl(seq_len(nrow(data)), function(i) { any(purrr::map_lgl(data[columns_to_search], ~{ col_value <- .x[[i]] if (is.list(col_value) && length(col_value) > 0) { any(purrr::map_lgl(unlist(col_value, recursive = TRUE, use.names = FALSE), ~contains_keyword(., keywords) %||% FALSE)) } else if (!is.null(col_value) && length(col_value) > 0) { contains_keyword(col_value, keywords) %||% FALSE } else { FALSE } })) })`: i In index: 1. Caused by error in `purrr::map_lgl()`: i In index: 1. i With name: id. Caused by error in `contains_keyword(col_value, keywords) %||% FALSE`: ! could not find function "%||%" [ FAIL 1 | WARN 0 | SKIP 25 | PASS 108 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [9s] 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(wbwdi) > > test_check("wbwdi") [ FAIL 1 | WARN 0 | SKIP 25 | PASS 108 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (25): 'tests-perform_request.R:24:3', 'tests-perform_request.R:31:3', 'tests-perform_request.R:93:3', 'tests-wdi_get.R:47:3', 'tests-wdi_get.R:62:3', 'tests-wdi_get.R:78:3', 'tests-wdi_get.R:85:3', 'tests-wdi_get.R:95:3', 'tests-wdi_get.R:105:3', 'tests-wdi_get.R:126:3', 'tests-wdi_get_entities.R:20:3', 'tests-wdi_get_entities.R:77:3', 'tests-wdi_get_income_levels.R:2:3', 'tests-wdi_get_income_levels.R:31:3', 'tests-wdi_get_indicators.R:20:3', 'tests-wdi_get_indicators.R:62:3', 'tests-wdi_get_languages.R:2:3', 'tests-wdi_get_lending_types.R:8:3', 'tests-wdi_get_lending_types.R:56:3', 'tests-wdi_get_regions.R:8:3', 'tests-wdi_get_regions.R:75:3', 'tests-wdi_get_sources.R:8:3', 'tests-wdi_get_sources.R:92:3', 'tests-wdi_get_topics.R:8:3', 'tests-wdi_get_topics.R:69:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('tests-wdi_search.R:14:3'): wdi_search returns rows with specified keywords in any column ── <purrr_error_indexed/rlang_error/error/condition> Error in `purrr::map_lgl(seq_len(nrow(data)), function(i) { any(purrr::map_lgl(data[columns_to_search], ~{ col_value <- .x[[i]] if (is.list(col_value) && length(col_value) > 0) { any(purrr::map_lgl(unlist(col_value, recursive = TRUE, use.names = FALSE), ~contains_keyword(., keywords) %||% FALSE)) } else if (!is.null(col_value) && length(col_value) > 0) { contains_keyword(col_value, keywords) %||% FALSE } else { FALSE } })) })`: i In index: 1. Caused by error in `purrr::map_lgl()`: i In index: 1. i With name: id. Caused by error in `contains_keyword(col_value, keywords) %||% FALSE`: ! could not find function "%||%" [ FAIL 1 | WARN 0 | SKIP 25 | PASS 108 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64