Package: amadeus Check: examples New result: ERROR Running examples in ‘amadeus-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: download_geos > ### Title: Download atmospheric composition data > ### Aliases: download_geos > > ### ** Examples > > download_geos( + collection = "aqc_tavg_1hr_g1440x721_v1", + date = "2024-01-01", + directory_to_save = tempdir(), + acknowledgement = TRUE, + download = FALSE, # NOTE: download skipped for examples, + remove_command = TRUE + ) Error in download_geos(collection = "aqc_tavg_1hr_g1440x721_v1", date = "2024-01-01", : Invalid date returns HTTP code 404. Check `date` parameter. Execution halted Package: BFS Check: tests New result: ERROR Running ‘testthat.R’ [19s/139s] 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") =>----------------------------- 3% | ETA: 43s ===>--------------------------- 9% | ETA: 41s =====>------------------------- 15% | ETA: 40s =======>----------------------- 22% | ETA: 35s =========>--------------------- 29% | ETA: 32s ===========>------------------- 36% | ETA: 28s =============>----------------- 43% | ETA: 25s ===============>--------------- 50% | ETA: 22s =================>------------- 57% | ETA: 19s ===================>----------- 64% | ETA: 16s =====================>--------- 71% | ETA: 13s =======================>------- 78% | ETA: 10s ==========================>---- 85% | ETA: 6s ===========================>--- 92% | ETA: 4s ==============================> 99% | ETA: 0s [ 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: leaflet.extras Check: tests New result: ERROR Running ‘testthat.R’ [7s/10s] 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(leaflet) > library(leaflet.extras) > > test_check("leaflet.extras") Linking to GEOS 3.13.0, GDAL 3.9.2, PROJ 9.5.0; sf_use_s2() is TRUE Reading layer `geodesic_lines' from data source `/home/hornik/tmp/CRAN_recheck/leaflet.extras.Rcheck/leaflet.extras/examples/data/geodesic_lines.shp' using driver `ESRI Shapefile' Simple feature collection with 2 features and 2 fields Geometry type: LINESTRING Dimension: XY Bounding box: xmin: -4.921875 ymin: 31.71543 xmax: 66.09375 ymax: 64.93484 Geodetic CRS: WGS 84 ! curl package not installed, falling back to using `url()` ! curl package not installed, falling back to using `url()` ! curl package not installed, falling back to using `url()` ! curl package not installed, falling back to using `url()` [ FAIL 2 | WARN 0 | SKIP 0 | PASS 892 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-marker.R:223:3'): markers ──────────────────────────────────── ts$x$calls[[length(ts$x$calls)]]$args[[3]]$icon (`actual`) not identical to as.character(unlist(lapply(iconSet[cities$weather], function(x) x$icon))) (`expected`). `actual`: "wind" `expected`: "wind" "wind" "wind" "wind" "wind" "wind" ── Failure ('test-marker.R:240:3'): markers ──────────────────────────────────── ts$x$calls[[length(ts$x$calls)]]$args[[3]]$icon (`actual`) not identical to as.character(unlist(lapply(iconSet[cities$weather], function(x) x$icon))) (`expected`). `actual`: "wind" `expected`: "wind" "wind" "wind" "wind" "wind" "wind" [ FAIL 2 | WARN 0 | SKIP 0 | PASS 892 ] 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: riverdist Check: examples New result: ERROR Running examples in ‘riverdist-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: line2network > ### Title: Create a River Network Object from a Shapefile > ### Aliases: line2network > > ### ** Examples > > filepath <- system.file("extdata", package="riverdist") > > Gulk_UTM5 <- line2network(path=filepath, layer="Gulk_UTM5") Error in process_cpl_read_ogr(x, quiet, check_ring_dir = check_ring_dir, : package tibble not available: install first? Calls: line2network ... st_read -> st_read.character -> process_cpl_read_ogr Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed densityanomaly 7.504 0.044 7.598 Package: riverdist Check: tests New result: ERROR Running ‘testthat.R’ [13s/13s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(riverdist) > > test_check("riverdist") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 188 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_riverdist.R:395:1'): (code run outside of `test_that()`) ─────── Error in `process_cpl_read_ogr(x, quiet, check_ring_dir = check_ring_dir, stringsAsFactors = stringsAsFactors, geometry_column = geometry_column, optional = optional, ...)`: package tibble not available: install first? Backtrace: ▆ 1. └─sf::read_sf(dsn = filepath, layer = "Gulk_UTM5") at test_riverdist.R:395:1 2. ├─sf::st_read(...) 3. └─sf:::st_read.character(...) 4. └─sf:::process_cpl_read_ogr(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 188 ] Error: Test failures Execution halted Package: TreeRingShape Check: examples New result: ERROR Running examples in ‘TreeRingShape-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ReadShapefile_P00 > ### Title: Return x,y coordinates of a tree ring center point (P00) from > ### shape file of tree ring points > ### Aliases: ReadShapefile_P00 > > ### ** Examples > > .dir <- system.file("shp",package = "TreeRingShape") > .file <- "Abies_277_h400_TreeRing_Points.shp" > filename <- paste(.dir,.file,sep="/") > ReadShapefile_P00(filename) Error in process_cpl_read_ogr(x, quiet, check_ring_dir = check_ring_dir, : package tibble not available: install first? Calls: ReadShapefile_P00 ... st_read -> st_read.character -> process_cpl_read_ogr Execution halted