- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘nhdplusTools/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘nhdplusTools’ version ‘1.2.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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘nhdplusTools’ can be installed ... [6s/6s] OK
See the install log for details.
- checking installed package size ... NOTE
installed size is 6.5Mb
sub-directories of 1Mb or more:
data 1.6Mb
doc 4.2Mb
- 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking startup messages can be suppressed ... [1s/1s] 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 ... [4s/4s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [4s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [24s/15s] OK
Running ‘testthat.R’ [23s/15s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [4m/12m] ERROR
Errors in running code in vignettes:
when running code in ‘get_3dhp_data.Rmd’
...
> par(old_par)
> if (Sys.getenv("BUILD_VIGNETTES") != "TRUE") {
+ unlink(work_dir, recursive = TRUE)
+ }
When sourcing ‘get_3dhp_data.R’:
Error: object 'work_dir' not found
Execution halted
when running code in ‘get_data_overview.Rmd’
...
+ utils::unzip(f, exdir = wbd_dir)
+ }
> wbd_gdb <- list.files(wbd_dir, pattern = ".gdb", full.names = TRUE)
> sf::st_layers(wbd_gdb)
When sourcing ‘get_data_overview.R’:
Error: argument datasource should have length 1.
Execution halted
when running code in ‘nhdplusTools.Rmd’
...
> start_comid
NULL
> plot(sf::st_geometry(start_comid))
When sourcing ‘nhdplusTools.R’:
Error: no applicable method for 'st_geometry' applied to an object of class "NULL"
Execution halted
‘get_3dhp_data.Rmd’ using ‘UTF-8’... failed
‘get_data_overview.Rmd’ using ‘UTF-8’... failed
‘indexing.Rmd’ using ‘UTF-8’... [3s/4s] OK
‘nhdplusTools.Rmd’ using ‘UTF-8’... failed
‘nhdplushr.Rmd’ using ‘UTF-8’... [92s/150s] OK
‘plot_nhdplus.Rmd’ using ‘UTF-8’... [9s/27s] OK
- checking re-building of vignette outputs ... [24s/35s] OK
- checking PDF version of manual ... [5s/7s] OK
- DONE
Status: 1 ERROR, 1 NOTE
- using check arguments '--no-clean-on-error '