Last updated on 2024-08-16 21:49:26 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
hydroloom | 13 | ||
ncdfgeom | 13 | ||
nhdplusTools | 3 | 6 | 4 |
sbtools | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 3, NOTE: 6, OK: 4
Version: 1.2.1
Check: installed package size
Result: NOTE
installed size is 6.4Mb
sub-directories of 1Mb or more:
data 1.5Mb
doc 4.2Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.2.1
Check: examples
Result: ERROR
Running examples in ‘nhdplusTools-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: add_plus_network_attributes
> ### Title: Add NHDPlus Network Attributes to a provided network.
> ### Aliases: add_plus_network_attributes
>
> ### ** Examples
>
>
> source(system.file("extdata", "walker_data.R", package = "nhdplusTools"))
Request failed [503]. Retrying in 1 seconds...
Request failed [503]. Retrying in 1.5 seconds...
Error: Cannot open "/home/hornik/tmp/scratch/RtmpOfD4BW/nhdplusTools/walker.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.2.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [19s/52s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
>
> test_check("nhdplusTools")
Loading required package: nhdplusTools
Starting 2 test processes
[ FAIL 21 | WARN 0 | SKIP 49 | PASS 63 ]
══ Skipped tests (49) ══════════════════════════════════════════════════════════
• On CRAN (49): 'test_00_plot_integration_nhdplus.R:6:3',
'test_00_plot_bbox_nhdplus.R:5:3', 'test_00_plot_local_extra_nhdplus.R:9:3',
'test_00_plot_local_nhdplus.R:9:3', 'test_01_get_nldi.R:5:3',
'test_01_get_nldi.R:25:3', 'test_01_get_nldi.R:85:3',
'test_01_get_nldi.R:113:3', 'test_01_get_nldi.R:130:3',
'test_01_get_nldi.R:167:3', 'test_01_get_nldi.R:203:3',
'test_01_get_nldi.R:246:3', 'test_00_plot_nhdplus.R:5:3',
'test_00_plot_nhdplus.R:88:3', 'test_00_plot_nhdplus.R:130:3',
'test_00_plot_nhdplus.R:159:3', 'test_00_plot_nhdplus.R:195:3',
'test_02_subset.R:135:3', 'test_02_subset.R:191:3',
'test_03_get_functions.R:21:3', 'test_03_get_functions.R:48:3',
'test_03_get_functions.R:71:3', 'test_03_get_functions.R:122:3',
'test_03_get_functions.R:193:3', 'test_03_get_functions.R:209:3',
'test_03_get_functions.R:222:3', 'test_03_get_functions.R:240:3',
'test_03_get_functions.R:247:3', 'test_02_subset_extras.R:93:3',
'test_02_subset_extras.R:147:3', 'test_arcrest.R:58:3',
'test_geoconnex.R:3:3', 'test_geoconnex.R:14:3', 'test_get_3dhp.R:3:3',
'test_get_nhdplushr.R:8:3', 'test_get_nhdplushr.R:19:3',
'test_get_nhdplushr.R:45:3', 'test_get_nhdplushr.R:62:3',
'test_get_nhdplushr.R:104:3', 'test_get_nhdplushr.R:128:3',
'test_get_nhdplushr.R:146:3', 'test_get_vaa.R:4:3', 'test_get_vaa.R:38:3',
'test_get_path.R:69:3', 'test_navigate.R:4:3', 'test_navigate.R:71:3',
'test_map_nhdplus.R:4:3', 'test_rescale_catchments.R:3:3',
'test_run_plus_attributes.R:20:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_02_subset.R:35:3'): subset runs as expected ────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. └─sf::read_sf(sample_data, "NHDFlowline_Network") at test_02_subset.R:35:3
2. ├─sf::st_read(...)
3. └─sf:::st_read.character(...)
4. └─sf:::CPL_read_ogr(...)
── Error ('test_02_subset_extras.R:12:3'): subset by bounding box ──────────────
<Rcpp::exception/C++Error/error/condition>
Error: Open failed.
Backtrace:
▆
1. └─nhdplusTools::subset_nhdplus(...) at test_02_subset_extras.R:12:3
2. └─nhdplusTools:::get_catchment_layer_name(simplified, nhdplus_data)
3. ├─layer_name %in% sf::st_layers(nhdplus_data)$name
4. └─sf::st_layers(nhdplus_data)
5. └─sf:::CPL_get_layers(dsn, options, do_count)
── Error ('test_02_subset_extras.R:70:3'): by rpu ──────────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. └─sf::read_sf(nhdplus_path(), "NHDFlowline_Network") at test_02_subset_extras.R:70:3
2. ├─sf::st_read(...)
3. └─sf:::st_read.character(...)
4. └─sf:::CPL_read_ogr(...)
── Error ('test_align_nhdplus_names.R:1:1'): (code run outside of `test_that()`) ──
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/new_hope.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata/new_hope_data.R", package = "nhdplusTools")) at test_align_nhdplus_names.R:1:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_get_codes.R:1:1'): (code run outside of `test_that()`) ─────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/walker.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "walker_data.R", package = "nhdplusTools")) at test_get_codes.R:1:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_calc_network.R:19:3'): total drainage area works ───────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/walker.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "walker_data.R", package = "nhdplusTools")) at test_calc_network.R:19:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_calc_network.R:42:3'): arbolate sum works ──────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/walker.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "walker_data.R", package = "nhdplusTools")) at test_calc_network.R:42:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_calc_network.R:60:3'): get_terminal ────────────────────────────
Error in `zip::unzip(d, exdir = work_dir)`: zip error: Cannot open zip file `/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/03_sub.zip` for reading in file zip.c:141
Backtrace:
▆
1. ├─base::suppressMessages(...) at test_calc_network.R:60:3
2. │ └─base::withCallingHandlers(...)
3. ├─base::source(system.file("extdata/nhdplushr_data.R", package = "nhdplusTools"))
4. │ ├─base::withVisible(eval(ei, envir))
5. │ └─base::eval(ei, envir)
6. │ └─base::eval(ei, envir)
7. └─global download_pkg_data(...)
8. └─zip::unzip(d, exdir = work_dir)
── Error ('test_calc_network.R:91:3'): get_terminal ────────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/walker.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "walker_data.R", package = "nhdplusTools")) at test_calc_network.R:91:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_get_geometry.R:4:3'): get_node ─────────────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. └─sf::read_sf(sample_data, "NHDFlowline_Network") at test_get_geometry.R:4:3
2. ├─sf::st_read(...)
3. └─sf:::st_read.character(...)
4. └─sf:::CPL_read_ogr(...)
── Error ('test_get_geometry.R:28:3'): fix_flowdir ─────────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. └─sf::read_sf(sample_data, "NHDFlowline_Network") at test_get_geometry.R:28:3
2. ├─sf::st_read(...)
3. └─sf:::st_read.character(...)
4. └─sf:::CPL_read_ogr(...)
── Error ('test_get_network.R:3:1'): (code run outside of `test_that()`) ───────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_network.R:3:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg"))
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_get_nhdplus.R:3:1'): (code run outside of `test_that()`) ───────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_get_nhdplus.R:3:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg"))
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_get_path_lengths.R:3:3'): path_lengths ─────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/walker.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "walker_data.R", package = "nhdplusTools")) at test_get_path_lengths.R:3:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_get_path_lengths.R:52:3'): get_partial_length ──────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/walker.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "walker_data.R", package = "nhdplusTools")) at test_get_path_lengths.R:52:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_index.R:3:1'): (code run outside of `test_that()`) ─────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_index.R:3:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg"))
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_get_path.R:23:3'): calculate level path ────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/walker.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "walker_data.R", package = "nhdplusTools")) at test_get_path.R:23:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_get_path.R:115:3'): from vignette works ────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/new_hope.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata/new_hope_data.R", package = "nhdplusTools")) at test_get_path.R:115:3
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, f), "CatchmentSP")
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_nhdplusTools.R:3:1'): (code run outside of `test_that()`) ──────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_nhdplusTools.R:3:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg"))
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_rebuild_topology.R:1:1'): (code run outside of `test_that()`) ──
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/RtmpyD4ipi/nhdplusTools/petapsco_flowlines.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. ├─base::source(system.file("extdata", "sample_flines.R", package = "nhdplusTools")) at test_rebuild_topology.R:1:1
2. │ ├─base::withVisible(eval(ei, envir))
3. │ └─base::eval(ei, envir)
4. │ └─base::eval(ei, envir)
5. └─sf::read_sf(file.path(data_dir, "petapsco_flowlines.gpkg"))
6. ├─sf::st_read(...)
7. └─sf:::st_read.character(...)
8. └─sf:::CPL_read_ogr(...)
── Error ('test_wb_index.R:4:1'): index to waterbodies ─────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Cannot open "/home/hornik/tmp/scratch/Rtmpfu1w9O/nhdplusTools/sample_natseamless.gpkg"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Backtrace:
▆
1. └─sf::read_sf(sample_data, "NHDWaterbody") at test_wb_index.R:4:1
2. ├─sf::st_read(...)
3. └─sf:::st_read.character(...)
4. └─sf:::CPL_read_ogr(...)
[ FAIL 21 | WARN 0 | SKIP 49 | PASS 63 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.2.1
Check: running R code from vignettes
Result: 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 ‘nhdplushr.Rmd’
...
> hr_gpkg <- file.path(work_dir, "hr_data.gpkg")
> plot_data <- plot_nhdplus(list("nwissite", "USGS-05428500"),
+ streamorder = 3, nhdplus_data = sample_data)
Zoom set to: 11
When sourcing ‘nhdplushr.R’:
Error: plot.new has not been called yet
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’... [81s/120s] OK
‘nhdplushr.Rmd’ using ‘UTF-8’... failed
‘plot_nhdplus.Rmd’ using ‘UTF-8’... [8s/40s] OK
Flavor: r-oldrel-macos-arm64
Version: 1.2.1
Check: running R code from vignettes
Result: 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
‘get_3dhp_data.Rmd’ using ‘UTF-8’... failed
‘get_data_overview.Rmd’ using ‘UTF-8’... failed
‘indexing.Rmd’ using ‘UTF-8’... [5s/10s] OK
‘nhdplusTools.Rmd’ using ‘UTF-8’... [18s/32s] OK
‘nhdplushr.Rmd’ using ‘UTF-8’... [121s/209s] OK
‘plot_nhdplus.Rmd’ using ‘UTF-8’... [13s/44s] OK
Flavor: r-oldrel-macos-x86_64
Current CRAN status: OK: 13
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.