Running ‘testthat.R’ [51s/68s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > 
  > test_check("nhdplusTools")
  Loading required package: nhdplusTools
  USGS Support Package: https://owi.usgs.gov/R/packages.html#support
  Linking to GEOS 3.8.1, GDAL 3.1.4, PROJ 7.2.0
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  ── Skip (test_get_nhdplus.R:7:3): get_nhdplus_byid ─────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nhdplus.R:28:3): get_nhdplus_bybox ───────────────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nhdplus.R:48:3): downloaders run ─────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nhdplushr.R:8:3): we get urls for nhdplushr ──────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nhdplushr.R:15:3): get_nhdplushr layers and gpkg ─────────────
  Reason: On CRAN
  
  ── Skip (test_get_nhdplushr.R:41:3): get_nhdplushr overwrite gpkg and pattern ──
  Reason: On CRAN
  
  ── Skip (test_get_nhdplushr.R:79:3): get_nhdplushr simp and proj ───────────────
  Reason: On CRAN
  
  ── Skip (test_get_nhdplushr.R:100:3): get_nhdplushr rename and keep_cols ───────
  Reason: On CRAN
  
  ── Skip (test_get_nhdplushr.R:113:3): make_standalone ──────────────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nldi.R:5:3): nldi basics work ────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nldi.R:31:3): navigation works ───────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nldi.R:69:3): basin works ────────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nldi.R:82:3): get feature works ──────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_get_nldi.R:99:3): characteristics ────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_index.R:4:5): point indexing to nearest existing node works as exp
  Reason: On CRAN
  
  ── Skip (test_index.R:46:3): point indexing to for multiple points works ───────
  Reason: On CRAN
  
  ── Skip (test_nhdplusTools.R:21:3): discover nhdplus id errors ─────────────────
  Reason: On CRAN
  
  ── Skip (test_nhdplusTools.R:30:3): discover nhdplus id works as expected ──────
  Reason: On CRAN
  
  ── Skip (test_plot_nhdplus.R:7:3): basics work ─────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_plot_nhdplus.R:87:3): local data ─────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test_plot_nhdplus.R:236:3): test_as_outlets ───────────────────────────
  Reason: On CRAN
  
  ── Skip (test_plot_nhdplus.R:275:3): bbox ──────────────────────────────────────
  Reason: On CRAN
  
  ── ERROR (test_plot_nhdplus.R:299:3): comids ───────────────────────────────────
  Error: no applicable method for 'st_bbox' applied to an object of class "data.frame"
  Backtrace:
      █
   1. └─nhdplusTools:::get_plot_data(comids) test_plot_nhdplus.R:299:2
   2.   └─sf::st_bbox(nhd_data$NHDFlowline_Network)
  
  ── Skip (test_subset.R:120:3): subset runs as expected ─────────────────────────
  Reason: On CRAN
  
  ── Skip (test_subset.R:146:3): subset works with HR ────────────────────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (24)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test_plot_nhdplus.R:299:3): comids
  
  [ FAIL 1 | WARN 0 | SKIP 24 | PASS 186 ]
  Error: Test failures
  Execution halted