CRAN Package Check Results for Maintainer ‘Sindre Mikael Haugen <sindre.haugen at ssb.no>’

Last updated on 2024-05-30 12:50:02 CEST.

Package ERROR NOTE OK
GISSB 1 2 9

Package GISSB

Current CRAN status: ERROR: 1, NOTE: 2, OK: 9

Version: 1.1
Check: data for non-ASCII characters
Result: NOTE Note: found 866 marked UTF-8 strings Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.1
Check: tests
Result: ERROR Running 'testthat.R' [49s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(GISSB) > > testthat::test_check("GISSB") Error in function (type, msg, asError = TRUE) : Failed to connect to ws.geonorge.no port 443 after 21024 ms: Couldn't connect to server Error in function (type, msg, asError = TRUE) : Failed to connect to ws.geonorge.no port 443 after 21008 ms: Couldn't connect to server [ FAIL 2 | WARN 0 | SKIP 0 | PASS 13 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-address_to_coords.R:4:3'): Testing address_to_coords ─────────── Error in `address_to_coords(zip_code = "0177", address = "Akersveien 26")`: No access to: https://ws.geonorge.no/adresser/v1/ Backtrace: ▆ 1. └─GISSB::address_to_coords(zip_code = "0177", address = "Akersveien 26") at test-address_to_coords.R:4:3 ── Error ('test-coords_to_google.R:4:3'): Testing coords_to_google ───────────── Error in `address_to_coords(zip_code = "0177", address = "Akersveien 26")`: No access to: https://ws.geonorge.no/adresser/v1/ Backtrace: ▆ 1. ├─... %>% coords_to_google() at test-coords_to_google.R:4:3 2. ├─GISSB::coords_to_google(.) 3. │ ├─... %>% sf::st_transform(coords, crs = crs_out) 4. │ └─sf::st_transform(coords, crs = 4326) 5. ├─sf::st_transform(., coords, crs = crs_out) 6. ├─dplyr::select(., -coords_google_1, -coords_google_2) 7. ├─dplyr::mutate(...) 8. ├─dplyr::mutate(...) 9. ├─dplyr::mutate(...) 10. ├─dplyr::mutate(...) 11. └─GISSB::address_to_coords(zip_code = "0177", address = "Akersveien 26") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 13 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64