Package: BFS Check: tests New result: ERROR Running ‘testthat.R’ [18s/145s] 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(BFS) > > test_check("BFS") ==>---------------------------- 8% | ETA: 39s ====>-------------------------- 15% | ETA: 36s ======>------------------------ 20% | ETA: 36s ========>---------------------- 27% | ETA: 32s ==========>-------------------- 33% | ETA: 31s ============>------------------ 39% | ETA: 29s ==============>---------------- 45% | ETA: 26s ================>-------------- 52% | ETA: 22s ==================>------------ 59% | ETA: 19s ====================>---------- 66% | ETA: 16s ======================>-------- 73% | ETA: 12s ========================>------ 80% | ETA: 9s ==========================>---- 87% | ETA: 6s ============================>-- 93% | ETA: 3s [ FAIL 7 | WARN 1 | SKIP 0 | PASS 38 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bfs_get_base_maps.R:5:3'): Get Switzerland base map data as sf works ── Error in `if (nchar(dsn) < 1) stop("`dsn` must point to a source, not an empty string.", call. = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─BFS::bfs_get_base_maps(geom = "suis") at test-bfs_get_base_maps.R:5:3 2. └─sf::read_sf(file_selected) 3. ├─sf::st_read(...) 4. └─sf:::st_read.character(...) ── Error ('test-bfs_get_base_maps.R:13:3'): Get Cantons base map data as sf works ── Error in `if (nchar(dsn) < 1) stop("`dsn` must point to a source, not an empty string.", call. = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─BFS::bfs_get_base_maps(geom = "kant") at test-bfs_get_base_maps.R:13:3 2. └─sf::read_sf(file_selected) 3. ├─sf::st_read(...) 4. └─sf:::st_read.character(...) ── Error ('test-bfs_get_base_maps.R:21:3'): Get Canton Capitals base map data as sf works ── Error in `if (nchar(dsn) < 1) stop("`dsn` must point to a source, not an empty string.", call. = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─BFS::bfs_get_base_maps(geom = "stkt", type = "Pnts", category = "kk") at test-bfs_get_base_maps.R:21:3 2. └─sf::read_sf(file_selected) 3. ├─sf::st_read(...) 4. └─sf:::st_read.character(...) ── Error ('test-bfs_get_base_maps.R:29:3'): Get Lake base map data as sf works ── Error in `if (nchar(dsn) < 1) stop("`dsn` must point to a source, not an empty string.", call. = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─BFS::bfs_get_base_maps(geom = "seen", category = "11") at test-bfs_get_base_maps.R:29:3 2. └─sf::read_sf(file_selected) 3. ├─sf::st_read(...) 4. └─sf:::st_read.character(...) ── Error ('test-bfs_get_base_maps.R:43:3'): bfs_get_base_maps() with gf_ch category ── Error in `if (nchar(dsn) < 1) stop("`dsn` must point to a source, not an empty string.", call. = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─BFS::bfs_get_base_maps(geom = "suis", category = "gf_ch") at test-bfs_get_base_maps.R:43:3 2. └─sf::read_sf(file_selected) 3. ├─sf::st_read(...) 4. └─sf:::st_read.character(...) ── Error ('test-bfs_get_base_maps.R:51:3'): bfs_get_base_maps() with 'polg' geom and date ── Error in `if (nchar(dsn) < 1) stop("`dsn` must point to a source, not an empty string.", call. = FALSE)`: argument is of length zero Backtrace: ▆ 1. └─BFS::bfs_get_base_maps(geom = "polg", date = "20230101") at test-bfs_get_base_maps.R:51:3 2. └─sf::read_sf(file_selected) 3. ├─sf::st_read(...) 4. └─sf:::st_read.character(...) ── Error ('test-bfs_get_base_maps.R:59:3'): bfs_get_base_maps() with 'polg' geom and recent date different ── Error in `if (nchar(dsn) < 1) stop("`dsn` must point to a source, not an empty string.", call. = FALSE)`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─BFS::bfs_get_base_maps(geom = "kant", most_recent = TRUE) at test-bfs_get_base_maps.R:59:3 2. └─sf::read_sf(file_selected) 3. ├─sf::st_read(...) 4. └─sf:::st_read.character(...) [ FAIL 7 | WARN 1 | SKIP 0 | PASS 38 ] Error: Test failures Execution halted Package: httr2 [Old version: 1.0.5, New version: 1.0.6] Check: tests New result: ERROR Running ‘testthat.R’ [56s/32s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(httr2) Attaching package: 'httr2' The following objects are masked from 'package:testthat': local_mock, with_mock > > test_check("httr2") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 95 | PASS 629 ] ══ Skipped tests (95) ══════════════════════════════════════════════════════════ • Can't find envvar HTTR2_KEY (2): 'test-oauth-client.R:74:3', 'test-oauth-flow-jwt.R:7:3' • On CRAN (92): 'test-req-perform.R:14:3', 'test-req-perform.R:25:3', 'test-req-perform.R:189:3', 'test-req-perform.R:210:3', 'test-req-perform.R:220:3', 'test-content-type.R:16:3', 'test-content-type.R:24:3', 'test-content-type.R:55:3', 'test-curl.R:2:3', 'test-curl.R:6:3', 'test-curl.R:76:3', 'test-curl.R:114:3', 'test-curl.R:127:3', 'test-curl.R:135:3', 'test-curl.R:164:3', 'test-curl.R:201:3', 'test-headers.R:11:3', 'test-headers.R:15:3', 'test-headers.R:37:3', 'test-resp-stream.R:24:3', 'test-iterate-helpers.R:4:3', 'test-iterate-helpers.R:63:3', 'test-iterate-helpers.R:85:3', 'test-iterate.R:40:3', 'test-iterate.R:83:3', 'test-oauth-client.R:3:3', 'test-oauth-client.R:11:3', 'test-oauth-client.R:20:3', 'test-oauth-flow-auth-code.R:6:3', 'test-oauth-flow-auth-code.R:75:3', 'test-oauth-flow-auth-code.R:98:3', 'test-oauth-flow-auth-code.R:127:3', 'test-oauth-flow-jwt.R:37:3', 'test-oauth-flow-refresh.R:37:3', 'test-oauth-flow.R:9:3', 'test-oauth-flow.R:18:3', 'test-oauth-flow.R:32:3', 'test-oauth-token.R:9:3', 'test-oauth.R:109:3', 'test-multi-req.R:3:3', 'test-multi-req.R:93:3', 'test-multi-req.R:139:3', 'test-multi-req.R:143:3', 'test-req-body.R:33:3', 'test-req-body.R:79:3', 'test-req-body.R:165:3', 'test-req-auth-aws.R:52:3', 'test-req-cookies.R:13:3', 'test-req-error.R:21:3', 'test-req-headers.R:33:3', 'test-req-cache.R:95:3', 'test-req-cache.R:218:3', 'test-req-cache.R:232:3', 'test-req-cache.R:248:3', 'test-req-mock.R:19:3', 'test-req-mock.R:38:3', 'test-req-options.R:39:3', 'test-req-options.R:54:3', 'test-req-options.R:63:3', 'test-req-perform-stream.R:3:3', 'test-req-perform-stream.R:100:3', 'test-req-perform-stream.R:109:3', 'test-req-policy.R:2:3', 'test-req-perform-connection.R:2:3', 'test-req-retries.R:66:3', 'test-req-retries.R:72:3', 'test-req-template.R:29:3', 'test-req-template.R:45:3', 'test-req-throttle.R:2:3', 'test-req-throttle.R:19:3', 'test-req-url.R:62:3', 'test-req-url.R:72:3', 'test-req.R:2:3', 'test-req.R:11:3', 'test-req.R:26:3', 'test-resp-status.R:3:3', 'test-resp-stream-aws.R:55:3', 'test-resp-body.R:15:3', 'test-resp-body.R:73:3', 'test-resp-body.R:80:3', 'test-secret.R:40:3', 'test-secret.R:67:3', 'test-resp.R:10:3', 'test-resp.R:26:3', 'test-sequential.R:3:3', 'test-url.R:35:3', 'test-url.R:50:3', 'test-url.R:72:3', 'test-url.R:109:3', 'test-utils-multi.R:45:3', 'test-utils.R:9:3', 'test-utils.R:33:3' • has_paws_credentials() is not TRUE (1): 'test-req-auth-aws.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-resp-stream-aws.R:35:3'): can return various types of header ─── Error in `loadNamespace(x)`: there is no package called 'bit64' Backtrace: ▆ 1. ├─testthat::expect_equal(parse_aws_event(bytes)$headers, list(foo = expected)) at test-resp-stream-aws.R:35:3 2. │ └─testthat:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance) 3. │ └─testthat:::waldo_compare(...) 4. │ └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg) 5. │ └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts) 6. │ └─waldo:::compare_by_name(x, y, paths, opts) 7. │ └─waldo:::compare_structure(...) 8. │ └─waldo:::compare_vector(x, y, paths = paths, opts = opts) 9. │ └─waldo:::num_equal(x, y, opts$tolerance) 10. └─base::loadNamespace(x) 11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 12. └─base (local) withOneRestart(expr, restarts[[1L]]) 13. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 1 | WARN 0 | SKIP 95 | PASS 629 ] Error: Test failures Execution halted Package: osmapiR Check: examples New result: ERROR Running examples in ‘osmapiR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: set_osmapi_connection > ### Title: Configure connections from osmapiR > ### Aliases: set_osmapi_connection get_osmapi_url set_osmapi_url > > ### ** Examples > > ori <- get_osmapi_url() > set_osmapi_connection(server = "testing") Error in req$policies$auth_oauth$cache : $ operator is invalid for atomic vectors Calls: set_osmapi_connection -> logout_osmapi Execution halted Package: osmapiR Check: tests New result: ERROR Running ‘testthat.R’ [1s/1s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(osmapiR) Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright > > test_check("osmapiR") Error in `FUN()`: ! In path: "/home/hornik/tmp/CRAN_recheck/osmapiR.Rcheck/tests/testthat/setup.R" Caused by error in `req$policies$auth_oauth$cache`: ! $ operator is invalid for atomic vectors Backtrace: ▆ 1. ├─testthat::test_check("osmapiR") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─osmapiR::set_osmapi_connection("testing") at tests/testthat/setup.R:7:1 15. │ └─osmapiR::logout_osmapi() 16. └─base::.handleSimpleError(...) 17. └─testthat (local) h(simpleError(msg, call)) 18. └─rlang::abort(...) Execution halted Package: usethis Check: tests New result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [73s/41s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(usethis) > > test_check("usethis") Starting 2 test processes [ FAIL 2 | WARN 174 | SKIP 154 | PASS 617 ] ══ Skipped tests (154) ═════════════════════════════════════════════════════════ • No Git user configured (26): 'test-github-actions.R:2:3', 'test-github-actions.R:29:3', 'test-github-actions.R:45:3', 'test-github-actions.R:60:3', 'test-github-actions.R:90:3', 'test-github-actions.R:117:3', 'test-release.R:163:3', 'test-release.R:177:3', 'test-release.R:200:3', 'test-badge.R:18:3', 'test-ci.R:2:3', 'test-git.R:2:3', 'test-git.R:23:3', 'test-git.R:41:3', 'test-git.R:52:3', 'test-git.R:78:3', 'test-edit.R:46:3', 'test-edit.R:117:3', 'test-github.R:2:3', 'test-github.R:16:3', 'test-github.R:35:3', 'test-readme.R:16:3', 'test-tidyverse.R:60:3', 'test-tidyverse.R:74:3', 'test-upkeep.R:17:3', 'test-utils-git.R:3:3' • Not on GitHub Actions, Travis, or Appveyor (1): 'test-edit.R:67:3' • On CRAN (127): 'test-github-actions.R:25:3', 'test-github-actions.R:82:3', 'test-author.R:51:3', 'test-author.R:68:3', 'test-author.R:83:3', 'test-release.R:9:3', 'test-release.R:55:3', 'test-release.R:84:3', 'test-release.R:91:3', 'test-badge.R:10:3', 'test-badge.R:26:3', 'test-course.R:17:3', 'test-course.R:64:3', 'test-course.R:241:3', 'test-course.R:289:3', 'test-coverage.R:4:3', 'test-cpp11.R:40:3', 'test-browse.R:78:3', 'test-browse.R:90:3', 'test-data-table.R:16:3', 'test-data-table.R:30:3', 'test-git-default-branch.R:2:3', 'test-git-default-branch.R:37:3', 'test-git-default-branch.R:55:3', 'test-git-default-branch.R:76:3', 'test-latest-dependencies.R:2:3', 'test-latest-dependencies.R:18:3', 'test-latest-dependencies.R:30:3', 'test-helpers.R:35:3', 'test-helpers.R:45:3', 'test-helpers.R:63:3', 'test-helpers.R:76:3', 'test-helpers.R:89:3', 'test-helpers.R:105:3', 'test-helpers.R:117:3', 'test-lifecycle.R:6:3', 'test-logo.R:18:3', 'test-logo.R:30:3', 'test-news.R:7:3', 'test-news.R:20:3', 'test-news.R:32:3', 'test-package.R:10:3', 'test-package.R:20:3', 'test-package.R:34:3', 'test-pipe.R:19:3', 'test-proj-desc.R:5:3', 'test-proj-desc.R:19:3', 'test-pkgdown.R:13:3', 'test-pkgdown.R:59:3', 'test-proj.R:39:3', 'test-proj.R:57:3', 'test-r.R:16:3', 'test-r.R:41:3', 'test-r.R:49:3', 'test-r.R:59:3', 'test-r.R:63:3', 'test-readme.R:31:3', 'test-readme.R:41:3', 'test-readme.R:50:3', 'test-readme.R:60:3', 'test-rename-files.R:28:3', 'test-roxygen.R:5:3', 'test-tibble.R:15:3', 'test-rstudio.R:37:3', 'test-tutorial.R:5:3', 'test-ui-legacy.R:5:3', 'test-tidyverse.R:16:3', 'test-use_import_from.R:22:3', 'test-upkeep.R:13:3', 'test-usethis-deprecated.R:5:3', 'test-use_standalone.R:2:3', 'test-use_standalone.R:33:3', 'test-use_standalone.R:50:3', 'test-use_standalone.R:66:3', 'test-use_standalone.R:115:3', 'test-use_standalone.R:123:3', 'test-utils-github.R:121:3', 'test-utils-github.R:162:3', 'test-utils-github.R:166:2', 'test-utils-github.R:170:2', 'test-utils-github.R:174:2', 'test-utils-github.R:178:2', 'test-utils-github.R:182:2', 'test-utils-github.R:186:2', 'test-utils-github.R:190:2', 'test-utils-github.R:194:2', 'test-utils-github.R:198:2', 'test-utils-github.R:224:3', 'test-utils-github.R:228:3', 'test-utils-github.R:235:3', 'test-utils.R:9:3', 'test-utils-ui.R:5:3', 'test-utils-ui.R:5:3', 'test-utils-ui.R:5:3', 'test-utils-ui.R:5:3', 'test-utils-ui.R:50:3', 'test-utils-ui.R:50:3', 'test-utils-ui.R:50:3', 'test-utils-ui.R:50:3', 'test-utils-ui.R:84:3', 'test-utils-ui.R:88:3', 'test-utils-ui.R:92:3', 'test-utils-ui.R:106:3', 'test-utils-ui.R:106:3', 'test-utils-ui.R:119:3', 'test-utils-ui.R:119:3', 'test-utils-ui.R:133:3', 'test-utils-ui.R:133:3', 'test-utils-ui.R:144:3', 'test-utils-ui.R:144:3', 'test-utils-ui.R:151:3', 'test-utils-ui.R:151:3', 'test-utils-ui.R:165:3', 'test-utils-ui.R:184:3', 'test-utils-ui.R:184:3', 'test-utils-ui.R:191:3', 'test-utils-ui.R:191:3', 'test-utils-ui.R:202:3', 'test-utils-ui.R:202:3', 'test-utils-ui.R:214:3', 'test-utils-ui.R:214:3', 'test-vignette.R:12:3', 'test-version.R:16:3', 'test-version.R:32:3', 'test-version.R:59:3', 'test-version.R:82:3', 'test-write.R:250:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-use_import_from.R:4:3'): use_import_from() imports the related package & adds line to package doc ── Error in `use_import_from("tibble", "tibble")`: The package "tibble" is required. Backtrace: ▆ 1. └─usethis::use_import_from("tibble", "tibble") at test-use_import_from.R:4:3 2. └─rlang::check_installed(package) ── Error ('test-use_import_from.R:13:3'): use_import_from() adds one line for each function ── Error in `use_import_from("tibble", c("tibble", "enframe", "deframe"))`: The package "tibble" is required. Backtrace: ▆ 1. └─usethis::use_import_from("tibble", c("tibble", "enframe", "deframe")) at test-use_import_from.R:13:3 2. └─rlang::check_installed(package) [ FAIL 2 | WARN 174 | SKIP 154 | PASS 617 ] Error: Test failures Execution halted