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

Last updated on 2025-09-16 18:00:58 CEST.

Package ERROR OK
GISSB 1 12

Package GISSB

Current CRAN status: ERROR: 1, OK: 12

Version: 1.1
Check: examples
Result: ERROR Running examples in ‘GISSB-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: address_to_coords > ### Title: Convert addresses to coordinates > ### Aliases: address_to_coords > > ### ** Examples > > address_to_coords(zip_code = "0185", address = "Schweigaards gate 10") Error: Please install xml2 package Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/12s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(GISSB) > > testthat::test_check("GISSB") [ FAIL 3 | WARN 5 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-address_to_coords.R:4:3'): Testing address_to_coords ─────────── Error: Please install xml2 package Backtrace: ▆ 1. └─GISSB::address_to_coords(zip_code = "0177", address = "Akersveien 26") at test-address_to_coords.R:4:3 2. └─base (local) address_coord_func_vec(zip_code, address) 3. ├─base::do.call(...) 4. └─base::mapply(...) 5. └─GISSB (local) `<fn>`(zip_code = dots[[1L]][[1L]], address = dots[[2L]][[1L]]) 6. └─httr::content(resp) 7. └─httr:::parse_auto(raw, type, encoding, ...) 8. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 9. └─httr:::need_package("xml2") ── Error ('test-coords_to_google.R:4:3'): Testing coords_to_google ───────────── Error: Please install xml2 package 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") 12. └─base (local) address_coord_func_vec(zip_code, address) 13. ├─base::do.call(...) 14. └─base::mapply(...) 15. └─GISSB (local) `<fn>`(zip_code = dots[[1L]][[1L]], address = dots[[2L]][[1L]]) 16. └─httr::content(resp) 17. └─httr:::parse_auto(raw, type, encoding, ...) 18. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 19. └─httr:::need_package("xml2") ── Error ('test-coords_to_node.R:18:3'): Testing coords_to_node ──────────────── Error: Please install xml2 package Backtrace: ▆ 1. └─GISSB::address_to_coords(zip_code = "0177", address = "Akersveien 26") at test-coords_to_node.R:18:3 2. └─base (local) address_coord_func_vec(zip_code, address) 3. ├─base::do.call(...) 4. └─base::mapply(...) 5. └─GISSB (local) `<fn>`(zip_code = dots[[1L]][[1L]], address = dots[[2L]][[1L]]) 6. └─httr::content(resp) 7. └─httr:::parse_auto(raw, type, encoding, ...) 8. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 9. └─httr:::need_package("xml2") [ FAIL 3 | WARN 5 | SKIP 0 | PASS 11 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘GISSB_vignette.Rmd’ using rmarkdown Quitting from GISSB_vignette.Rmd:64-74 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! Please install xml2 package --- Backtrace: ▆ 1. └─GISSB::address_to_coords(zip_code = "0177", address = "Akersveien 26") 2. └─base (local) address_coord_func_vec(zip_code, address) 3. ├─base::do.call(...) 4. └─base::mapply(...) 5. └─GISSB (local) `<fn>`(zip_code = dots[[1L]][[1L]], address = dots[[2L]][[1L]]) 6. └─httr::content(resp) 7. └─httr:::parse_auto(raw, type, encoding, ...) 8. └─httr (local) parser(x = content, type = type, encoding = encoding, ...) 9. └─httr:::need_package("xml2") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'GISSB_vignette.Rmd' failed with diagnostics: Please install xml2 package --- failed re-building ‘GISSB_vignette.Rmd’ SUMMARY: processing the following file failed: ‘GISSB_vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang