* using log directory ‘/srv/hornik/tmp/CRAN/nhdplusTools.Rcheck’ * using R Under development (unstable) (2023-08-27 r85021) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (10) GNU Fortran (Debian 13.2.0-1) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘nhdplusTools/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘nhdplusTools’ version ‘0.7.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [6s/9s] NOTE Maintainer: ‘David Blodgett ’ Found the following (possibly) invalid URLs: URL: http://docs.opengeospatial.org/is/14-111r6/14-111r6.html#annexD_1 (moved to https://docs.ogc.org/is/14-111r6/14-111r6.html#annexD_1) From: README.md Status: 301 Message: Moved Permanently URL: https://owi.usgs.gov/R/dataRetrieval.html From: inst/doc/plot_nhdplus.html Status: Error Message: Could not resolve host: owi.usgs.gov URL: https://pubs.er.usgs.gov/publication/70216698 (moved to https://pubs.usgs.gov/publication/70216698) From: inst/doc/advanced_network.html Status: 301 Message: Moved Permanently URL: https://www.hydroshare.org/resource/6092c8a62fac45be97a09bfd0b0bf726/ From: man/download_vaa.Rd man/get_vaa.Rd man/get_vaa_names.Rd man/get_vaa_path.Rd Status: 403 Message: Forbidden * 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 * checking package directory ... OK * checking for future file timestamps ... 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 whether startup messages can be suppressed ... [1s/1s] 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 ... [10s/10s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... [13s/30s] NOTE Examples with CPU (user + system) or elapsed time > 5s user system elapsed get_catchment_characteristics 0.306 0.052 16.814 * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [27s/31s] ERROR Running ‘testthat.R’ [27s/31s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > > test_check("nhdplusTools") Loading required package: nhdplusTools Starting 2 test processes [ FAIL 3 | WARN 1 | SKIP 52 | PASS 311 ] ══ Skipped tests (52) ══════════════════════════════════════════════════════════ • On CRAN (52): 'test_00_plot_bbox_nhdplus.R:5:3', 'test_00_plot_integration_nhdplus.R:6: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:79:3', 'test_03_get_functions.R:135:3', 'test_03_get_functions.R:206:3', 'test_03_get_functions.R:222:3', 'test_03_get_functions.R:235:3', 'test_03_get_functions.R:253:3', 'test_03_get_functions.R:260:3', 'test_02_subset_extras.R:151:3', 'test_02_subset_extras.R:201:3', 'test_get_nhdplus.R:8:3', 'test_get_nhdplus.R:29:3', 'test_get_nhdplus.R:49:3', 'test_get_nhdplushr.R:8:3', 'test_get_nhdplushr.R:15:3', 'test_get_nhdplushr.R:41:3', 'test_get_nhdplushr.R:58:3', 'test_get_nhdplushr.R:100:3', 'test_get_nhdplushr.R:124:3', 'test_get_nhdplushr.R:142:3', 'test_get_codes.R:4:3', 'test_get_path.R:75:3', 'test_index.R:10:5', 'test_index.R:58:3', 'test_map_nhdplus.R:4:3', 'test_navigate.R:4:3', 'test_navigate.R:71:3', 'test_nhdplusTools.R:41:3', 'test_nhdplusTools.R:50:3', 'test_rescale_catchments.R:3:3', 'test_run_plus_attributes.R:21:3', 'test_get_vaa.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_get_vaa.R:63:3'): catchment chars ──────────────────────────── names(dat) (`actual`) not equal to c("characteristic_id", "comid", "characteristic_value", "percent_nodata") (`expected`). `actual` is NULL `expected` is a character vector ('characteristic_id', 'comid', 'characteristic_value', 'percent_nodata') ── Failure ('test_get_vaa.R:66:3'): catchment chars ──────────────────────────── all(c("CAT_BFI", "ACC_BFI", "TOT_BFI") %in% dat$characteristic_id) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test_get_vaa.R:68:3'): catchment chars ──────────────────────────── all(walker_catchment$FEATUREID %in% dat$comid) is not TRUE `actual`: FALSE `expected`: TRUE [ FAIL 3 | WARN 1 | SKIP 52 | PASS 311 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [10s/10s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs