CRAN Package Check Results for Maintainer ‘David Blodgett <dblodgett at usgs.gov>’

Last updated on 2025-02-11 19:49:19 CET.

Package ERROR NOTE OK
hydroloom 1 4 8
ncdfgeom 13
nhdplusTools 1 10 2
sbtools 2 11

Package hydroloom

Current CRAN status: ERROR: 1, NOTE: 4, OK: 8

Version: 1.1.0
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘add_divergence.R’ ‘add_levelpaths.R’ ‘add_pfafstetter.R’ ‘add_streamorder-level.R’ ‘add_toids.R’ ‘disambiguate.R’ ‘get_hydro_location.R’ ‘index_points_to_lines.R’ ‘make_attribute_topology.R’ ‘make_index_ids.R’ ‘make_node_topology.R’ ‘navigate_connected_paths.R’ ‘navigation_network.R’ ‘sort_network.R’ ‘to_flownetwork.R’ ‘utils.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.1.0
Check: examples
Result: ERROR Running examples in ‘hydroloom-Ex.R’ failed The error most likely occurred in: > ### Name: accumulate_downstream > ### Title: Accumulate Variable Downstream > ### Aliases: accumulate_downstream accumulate_downstream.data.frame > ### accumulate_downstream.hy > > ### ** Examples > > x <- sf::read_sf(system.file("extdata/new_hope.gpkg", package = "hydroloom")) Error: basic_string: construction from null is not valid Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [22s/14s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(hydroloom) > > test_check("hydroloom") Starting 2 test processes Error in `private$handle_error()`: ! testthat subprocess exited in file `test_add_pfafstetter.R` Caused by error: ! R session crashed with exit code -11 Backtrace: ▆ 1. └─testthat::test_check("hydroloom") 2. └─testthat::test_dir(...) 3. └─testthat:::test_files(...) 4. └─testthat:::test_files_parallel(...) 5. ├─withr::with_dir(...) 6. │ └─base::force(code) 7. ├─testthat::with_reporter(...) 8. │ └─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".") 13. └─queue$poll(Inf) 14. └─base::lapply(...) 15. └─testthat (local) FUN(X[[i]], ...) 16. └─private$handle_error(msg, i) 17. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘advanced_network.Rmd’ using rmarkdown Quitting from lines 44-52 [sort] (advanced_network.Rmd) Error: processing vignette 'advanced_network.Rmd' failed with diagnostics: basic_string: construction from null is not valid --- failed re-building ‘advanced_network.Rmd’ --- re-building ‘flow-table.Rmd’ using rmarkdown --- finished re-building ‘flow-table.Rmd’ --- re-building ‘hydroloom.Rmd’ using rmarkdown ** Processing: /data/gannet/ripley/R/packages/tests-devel/hydroloom.Rcheck/vign_test/hydroloom/vignettes/hydroloom_files/figure-html/node-1.png 384x384 pixels, 8 bits/pixel, 162 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 2469 bytes Input file size = 3045 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 2144 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 2144 Output IDAT size = 2144 bytes (325 bytes decrease) Output file size = 2222 bytes (823 bytes = 27.03% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-devel/hydroloom.Rcheck/vign_test/hydroloom/vignettes/hydroloom_files/figure-html/node-2.png 384x384 pixels, 8 bits/pixel, 235 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 3578 bytes Input file size = 4373 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 3129 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 3129 Output IDAT size = 3129 bytes (449 bytes decrease) Output file size = 3207 bytes (1166 bytes = 26.66% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-devel/hydroloom.Rcheck/vign_test/hydroloom/vignettes/hydroloom_files/figure-html/node1-1.png 288x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 7977 bytes Input file size = 8055 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6153 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 6153 Output IDAT size = 6153 bytes (1824 bytes decrease) Output file size = 6231 bytes (1824 bytes = 22.64% decrease) ** Processing: /data/gannet/ripley/R/packages/tests-devel/hydroloom.Rcheck/vign_test/hydroloom/vignettes/hydroloom_files/figure-html/node2-1.png 288x384 pixels, 3x8 bits/pixel, RGB Input IDAT size = 4574 bytes Input file size = 4652 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 3473 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 3473 Output IDAT size = 3473 bytes (1101 bytes decrease) Output file size = 3551 bytes (1101 bytes = 23.67% decrease) --- finished re-building ‘hydroloom.Rmd’ --- re-building ‘network_navigation.Rmd’ using rmarkdown --- finished re-building ‘network_navigation.Rmd’ --- re-building ‘non-dendritic.Rmd’ using rmarkdown --- finished re-building ‘non-dendritic.Rmd’ SUMMARY: processing the following file failed: ‘advanced_network.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Package ncdfgeom

Current CRAN status: OK: 13

Package nhdplusTools

Current CRAN status: ERROR: 1, NOTE: 10, OK: 2

Additional issues

donttest

Version: 1.3.0
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘A_nhdplusTools.R’ ‘arcrest_tools.R’ ‘get_geoconnex.R’ ‘get_nhdplushr.R’ ‘index_nhdplus.R’ ‘rescale_catchments.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.3.0
Check: examples
Result: ERROR Running examples in ‘nhdplusTools-Ex.R’ failed The error most likely occurred in: > ### 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")) *** caught segfault *** address 0xffffff08, cause 'memory not mapped' Traceback: 1: CPL_read_ogr(dsn, layer, query, as.character(options), quiet, type, fid_column_name, drivers, wkt_filter, promote_to_multi, int64_as_string, dsn_exists, dsn_isdb, getOption("width")) 2: st_read.character(..., quiet = quiet, stringsAsFactors = stringsAsFactors, as_tibble = as_tibble) 3: st_read(..., quiet = quiet, stringsAsFactors = stringsAsFactors, as_tibble = as_tibble) 4: sf::read_sf(file.path(data_dir, f), "CatchmentSP") 5: eval(ei, envir) 6: eval(ei, envir) 7: withVisible(eval(ei, envir)) 8: source(system.file("extdata", "walker_data.R", package = "nhdplusTools")) An irrecoverable exception occurred. R is aborting now ... Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [20s/14s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > > test_check("nhdplusTools") Loading required package: nhdplusTools Starting 2 test processes Error in `private$handle_error()`: ! testthat subprocess exited in file `test_02_subset_extras.R` Caused by error: ! R session closed the process connection, killed Backtrace: ▆ 1. └─testthat::test_check("nhdplusTools") 2. └─testthat::test_dir(...) 3. └─testthat:::test_files(...) 4. └─testthat:::test_files_parallel(...) 5. ├─withr::with_dir(...) 6. │ └─base::force(code) 7. ├─testthat::with_reporter(...) 8. │ └─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".") 13. └─queue$poll(Inf) 14. └─base::lapply(...) 15. └─testthat (local) FUN(X[[i]], ...) 16. └─private$handle_error(msg, i) 17. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.3.0
Check: installed package size
Result: NOTE installed size is 6.5Mb sub-directories of 1Mb or more: data 1.6Mb doc 4.2Mb Flavors: 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

Package sbtools

Current CRAN status: NOTE: 2, OK: 11

Version: 1.3.2
Check: for unstated dependencies in ‘demo’
Result: NOTE 'library' or 'require' calls not declared from: ‘maps’ ‘sp’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc