- using R version 4.4.0 (2024-04-24 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.2.0
GNU Fortran (GCC) 13.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'GISSB/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'GISSB' version '1.1'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'GISSB' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [1s] ERROR
Running examples in 'GISSB-Ex.R' failed
The error most likely occurred in:
> ### 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 in function (type, msg, asError = TRUE) :
schannel: CertGetCertificateChain trust error CERT_TRUST_REVOCATION_STATUS_UNKNOWN
Error in address_to_coords(zip_code = "0185", address = "Schweigaards gate 10") :
No access to: https://ws.geonorge.no/adresser/v1/
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [6s] ERROR
Running 'testthat.R' [6s]
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) :
schannel: CertGetCertificateChain trust error CERT_TRUST_REVOCATION_STATUS_UNKNOWN
Error in function (type, msg, asError = TRUE) :
schannel: CertGetCertificateChain trust error CERT_TRUST_REVOCATION_STATUS_UNKNOWN
Error in function (type, msg, asError = TRUE) :
schannel: CertGetCertificateChain trust error CERT_TRUST_REVOCATION_STATUS_UNKNOWN
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 11 ]
══ 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")
── Error ('test-coords_to_node.R:18:3'): Testing coords_to_node ────────────────
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-coords_to_node.R:18:3
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 11 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s] ERROR
Error(s) in re-building vignettes:
--- re-building 'GISSB_vignette.Rmd' using rmarkdown
Quitting from lines at lines 65-74 [unnamed-chunk-2] (GISSB_vignette.Rmd)
Error: processing vignette 'GISSB_vignette.Rmd' failed with diagnostics:
No access to: https://ws.geonorge.no/adresser/v1/
--- failed re-building 'GISSB_vignette.Rmd'
SUMMARY: processing the following file failed:
'GISSB_vignette.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 3 ERRORs