Last updated on 2025-03-09 12:52:06 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.0 | 4.65 | 49.06 | 53.71 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.0 | 3.06 | 34.41 | 37.47 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.0 | 90.95 | 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-patched-linux-x86_64 | 1.0.0 | 4.46 | 45.03 | 49.49 | OK | |
r-release-linux-x86_64 | 1.0.0 | 4.17 | 44.87 | 49.04 | OK | |
r-release-macos-arm64 | 1.0.0 | 49.00 | OK | |||
r-release-macos-x86_64 | 1.0.0 | 64.00 | OK | |||
r-release-windows-x86_64 | 1.0.0 | 8.00 | 72.00 | 80.00 | OK | |
r-oldrel-macos-arm64 | 1.0.0 | 41.00 | ERROR | |||
r-oldrel-macos-x86_64 | 1.0.0 | 72.00 | ERROR | |||
r-oldrel-windows-x86_64 | 1.0.0 | 7.00 | 87.00 | 94.00 | ERROR |
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/4s]
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/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-x86_64
Version: 1.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [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(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