CRAN Package Check Results for Package osmapiR

Last updated on 2025-12-06 00:48:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.4 6.05 191.75 197.80 OK
r-devel-linux-x86_64-debian-gcc 0.2.4 3.98 115.83 119.81 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.4 15.00 330.07 345.07 OK
r-devel-linux-x86_64-fedora-gcc 0.2.4 12.00 316.47 328.47 OK
r-devel-windows-x86_64 0.2.4 8.00 205.00 213.00 OK
r-patched-linux-x86_64 0.2.4 6.93 179.67 186.60 OK
r-release-linux-x86_64 0.2.4 5.67 180.75 186.42 OK
r-release-macos-arm64 0.2.4 OK
r-release-macos-x86_64 0.2.4 6.00 222.00 228.00 OK
r-release-windows-x86_64 0.2.4 9.00 208.00 217.00 OK
r-oldrel-macos-arm64 0.2.4 OK
r-oldrel-macos-x86_64 0.2.4 6.00 227.00 233.00 OK
r-oldrel-windows-x86_64 0.2.4 12.00 257.00 269.00 OK

Check Details

Version: 0.2.4
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'httpuv', 'knitr', 'rmarkdown', 'sf' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.4
Check: examples
Result: ERROR Running examples in ‘osmapiR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: st_as_sf > ### Title: Convert osmapiR objects to sf objects > ### Aliases: st_as_sf st_as_sf.osmapi_map_notes st_as_sf.osmapi_changesets > ### st_as_sf.osmapi_gps_track st_as_sf.osmapi_gpx > > ### ** Examples > > note <- osm_get_notes(note_id = "2067786") > sf::st_as_sf(note) Error in loadNamespace(x) : there is no package called ‘sf’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.4
Check: tests
Result: ERROR Running ‘testthat.R’ [85s/85s] 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") Logged out from https://api.openstreetmap.org Saving _problems/test-changesets-126.R Saving _problems/test-changesets-262.R Saving _problems/test-gps_traces-32.R Saving _problems/test-gps_traces-214.R Saving _problems/test-gps_traces-346.R Saving _problems/test-map_notes-27.R Saving _problems/test-map_notes-78.R Saving _problems/test-oauth2-3.R [ FAIL 8 | WARN 0 | SKIP 11 | PASS 1496 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-changesets.R:222:1', 'test-elements.R:52:1', 'test-elements.R:216:1', 'test-elements.R:265:1', 'test-elements.R:314:1', 'test-elements.R:488:1', 'test-elements.R:534:1', 'test-elements.R:563:1', 'test-miscellaneous.R:26:1' • {sf} is not installed. (2): 'test-gps_traces.R:281:5', 'test-map_notes.R:226:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-changesets.R:126:5'): .osm_read_changeset works ──────────────── Error in `osm_get_changesets(changeset_id = 137595351, include_discussion = TRUE, format = "sf")`: Missing `sf` package. Install with: install.package("sf") Backtrace: ▆ 1. ├─httptest2::with_mock_dir(...) at test-changesets.R:123:3 2. │ ├─httptest2:::with_mock_path(...) 3. │ │ └─base::eval.parent(expr) 4. │ │ └─base::eval(expr, p) 5. │ └─httptest2::with_mock_api(expr) 6. │ └─base::eval.parent(expr) 7. │ └─base::eval(expr, p) 8. └─osmapiR::osm_get_changesets(...) at test-changesets.R:126:5 ── Error ('test-changesets.R:262:5'): osm_query_changesets works ─────────────── Error in `osm_query_changesets(changeset_ids = c(151819967, 137595351), format = "sf")`: Missing `sf` package. Install with: install.package("sf") Backtrace: ▆ 1. ├─httptest2::with_mock_dir(...) at test-changesets.R:259:3 2. │ ├─httptest2:::with_mock_path(...) 3. │ │ └─base::eval.parent(expr) 4. │ │ └─base::eval(expr, p) 5. │ └─httptest2::with_mock_api(expr) 6. │ └─base::eval.parent(expr) 7. │ └─base::eval(expr, p) 8. └─osmapiR::osm_query_changesets(...) at test-changesets.R:262:5 ── Error ('test-gps_traces.R:32:5'): osm_get_points_gps works ────────────────── Error in `osm_get_points_gps(bbox = c(-0.4789191, 38.1662652, -0.4778007, 38.1677898), format = "sf")`: Missing `sf` package. Install with: install.package("sf") Backtrace: ▆ 1. ├─httptest2::with_mock_dir(...) at test-gps_traces.R:27:3 2. │ ├─httptest2:::with_mock_path(...) 3. │ │ └─base::eval.parent(expr) 4. │ │ └─base::eval(expr, p) 5. │ └─httptest2::with_mock_api(expr) 6. │ └─base::eval.parent(expr) 7. │ └─base::eval(expr, p) 8. └─osmapiR::osm_get_points_gps(...) at test-gps_traces.R:32:5 ── Error ('test-gps_traces.R:214:5'): osm_get_metadata_gpx works ─────────────── Error in `osm_get_gpx_metadata(gpx_id = 3790367, format = "sf")`: Missing `sf` package. Install with: install.package("sf") Backtrace: ▆ 1. ├─httptest2::with_mock_dir(...) at test-gps_traces.R:210:3 2. │ ├─httptest2:::with_mock_path(...) 3. │ │ └─base::eval.parent(expr) 4. │ │ └─base::eval(expr, p) 5. │ └─httptest2::with_mock_api(expr) 6. │ └─base::eval.parent(expr) 7. │ └─base::eval(expr, p) 8. └─osmapiR::osm_get_gpx_metadata(gpx_id = 3790367, format = "sf") at test-gps_traces.R:214:5 ── Error ('test-gps_traces.R:346:5'): osm_list_gpxs works ────────────────────── Error in `osm_list_gpxs(format = "sf")`: Missing `sf` package. Install with: install.package("sf") Backtrace: ▆ 1. ├─httptest2::with_mock_dir(...) at test-gps_traces.R:344:3 2. │ ├─httptest2:::with_mock_path(...) 3. │ │ └─base::eval.parent(expr) 4. │ │ └─base::eval(expr, p) 5. │ └─httptest2::with_mock_api(expr) 6. │ └─base::eval.parent(expr) 7. │ └─base::eval(expr, p) 8. └─osmapiR::osm_list_gpxs(format = "sf") at test-gps_traces.R:346:5 ── Error ('test-map_notes.R:27:5'): osm_read_bbox_notes works ────────────────── Error in `osm_read_bbox_notes(bbox = bbox, limit = 10, format = "sf")`: Missing `sf` package. Install with: install.package("sf") Backtrace: ▆ 1. ├─httptest2::with_mock_dir(...) at test-map_notes.R:25:3 2. │ ├─httptest2:::with_mock_path(...) 3. │ │ └─base::eval.parent(expr) 4. │ │ └─base::eval(expr, p) 5. │ └─httptest2::with_mock_api(expr) 6. │ └─base::eval.parent(expr) 7. │ └─base::eval(expr, p) 8. └─osmapiR::osm_read_bbox_notes(bbox = bbox, limit = 10, format = "sf") at test-map_notes.R:27:5 ── Error ('test-map_notes.R:78:5'): .osm_read_note works ─────────────────────── Error in `osm_get_notes(note_id = 2067786, format = "sf")`: Missing `sf` package. Install with: install.package("sf") Backtrace: ▆ 1. ├─httptest2::with_mock_dir(...) at test-map_notes.R:76:3 2. │ ├─httptest2:::with_mock_path(...) 3. │ │ └─base::eval.parent(expr) 4. │ │ └─base::eval(expr, p) 5. │ └─httptest2::with_mock_api(expr) 6. │ └─base::eval.parent(expr) 7. │ └─base::eval(expr, p) 8. └─osmapiR::osm_get_notes(note_id = 2067786, format = "sf") at test-map_notes.R:78:5 ── Error ('test-oauth2.R:3:3'): oauth_request works ──────────────────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `normalize_redirect_uri(redirect_uri = redirect_uri)`: The package "httpuv" is required desktop OAuth Backtrace: ▆ 1. └─osmapiR:::oauth_request(req = req) at test-oauth2.R:3:3 2. └─httr2::req_oauth_auth_code(...) 3. └─httr2:::normalize_redirect_uri(redirect_uri = redirect_uri) 4. └─rlang::check_installed("httpuv", "desktop OAuth") [ FAIL 8 | WARN 0 | SKIP 11 | PASS 1496 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.4
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc