- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'arcpullr/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'arcpullr' version '0.3.0'
- 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 'arcpullr' 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 ... [10s] OK
- checking whether the package can be loaded with stated dependencies ... [10s] OK
- checking whether the package can be unloaded cleanly ... [9s] OK
- checking whether the namespace can be loaded with stated dependencies ... [8s] OK
- checking whether the namespace can be unloaded cleanly ... [9s] OK
- checking loading without being on the library search path ... [10s] 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 ... [21s] 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 ... [15s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [72s] ERROR
Running 'testthat.R' [72s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(arcpullr)
Loading required package: sf
Linking to GEOS 3.13.0, GDAL 3.10.1, PROJ 9.5.1; sf_use_s2() is TRUE
>
> test_check("arcpullr")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 46 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_layer_properties.R:3:1'): (code run outside of `test_that()`) ──
Error in `open.connection(x, "rb")`: cannot open the connection
Backtrace:
▆
1. └─arcpullr::get_layer_legend(wi_landcover_url) at test_layer_properties.R:3:1
2. ├─rvest::html_nodes(...)
3. │ └─rvest::html_elements(...)
4. ├─rvest::html_nodes(xml2::read_html(legend_url), "table")
5. │ └─rvest::html_elements(...)
6. ├─xml2::read_html(legend_url)
7. └─xml2:::read_html.default(legend_url)
8. ├─base::suppressWarnings(...)
9. │ └─base::withCallingHandlers(...)
10. ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
11. └─xml2:::read_xml.character(...)
12. └─xml2:::read_xml.connection(...)
13. ├─base::open(x, "rb")
14. └─base::open.connection(x, "rb")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 46 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [138s] ERROR
Error(s) in re-building vignettes:
--- re-building 'intro_to_arcpullr.Rmd' using rmarkdown
--- finished re-building 'intro_to_arcpullr.Rmd'
--- re-building 'raster_layers.Rmd' using rmarkdown
Quitting from raster_layers.Rmd:20-37 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `open.connection()`:
! cannot open the connection
---
Backtrace:
▆
1. ├─dplyr::arrange(...)
2. ├─arcpullr::match_legend_colors(...)
3. │ ├─base::stopifnot("raster_legend" %in% class(legend))
4. │ ├─"raster_legend" %in% class(legend)
5. │ └─"raster_legend" %in% class(legend)
6. └─arcpullr::get_layer_legend(wi_landcover_url)
7. ├─rvest::html_nodes(...)
8. │ └─rvest::html_elements(...)
9. ├─rvest::html_nodes(xml2::read_html(legend_url), "table")
10. │ └─rvest::html_elements(...)
11. ├─xml2::read_html(legend_url)
12. └─xml2:::read_html.default(legend_url)
13. ├─base::suppressWarnings(...)
14. │ └─base::withCallingHandlers(...)
15. ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
16. └─xml2:::read_xml.character(...)
17. └─xml2:::read_xml.connection(...)
18. ├─base::open(x, "rb")
19. └─base::open.connection(x, "rb")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'raster_layers.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building 'raster_layers.Rmd'
--- re-building 'spatial_queries.Rmd' using rmarkdown
--- finished re-building 'spatial_queries.Rmd'
SUMMARY: processing the following file failed:
'raster_layers.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [6s] OK
- DONE
Status: 2 ERRORs