Running ‘testthat.R’ [64s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > 
  > test_check("nhdplusTools")
  Loading required package: nhdplusTools
  Starting 2 test processes.
  > test_02_subset.R: All intersections performed in latitude/longitude.
  > test_02_subset.R: All intersections performed in latitude/longitude.
  > test_02_subset.R: All intersections performed in latitude/longitude.
  > test_02_subset.R: All intersections performed in latitude/longitude.
  Saving _problems/test_02_subset_extras-75.R
  [ FAIL 1 | WARN 0 | SKIP 58 | PASS 315 ]
  
  ══ Skipped tests (58) ══════════════════════════════════════════════════════════
  • On CRAN (58): 'test_00_plot_bbox_nhdplus.R:5:3',
    'test_00_plot_local_extra_nhdplus.R:9:3',
    'test_00_plot_integration_nhdplus.R:6: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:122:3',
    'test_01_get_nldi.R:140:3', 'test_01_get_nldi.R:176:3',
    'test_01_get_nldi.R:224:3', 'test_00_plot_nhdplus.R:6:3',
    'test_00_plot_nhdplus.R:90:3', 'test_00_plot_nhdplus.R:134:3',
    'test_00_plot_nhdplus.R:164:3', 'test_00_plot_nhdplus.R:201: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_arcrest.R:58:3',
    'test_02_subset_extras.R:94:3', 'test_02_subset_extras.R:149:3',
    'test_geoconnex.R:3:3', 'test_geoconnex.R:14:3', 'test_get_3dhp.R:3:3',
    'test_get_codes.R:4:3', 'test_get_nhdphr.R:3:3', 'test_get_nhdplus.R:8:3',
    'test_get_nhdplus.R:29:3', 'test_get_nhdplus.R:49:3',
    'test_get_nhdplushr.R:3:3', 'test_get_nhdplushr.R:23:3',
    'test_get_nhdplushr.R:53:3', 'test_get_nhdplushr.R:80:3',
    'test_get_nhdplushr.R:101:3', 'test_get_nhdplushr.R:147:3',
    'test_get_nhdplushr.R:174:3', 'test_get_nhdplushr.R:196:3',
    'test_get_vaa.R:4:3', 'test_get_vaa.R:38:3', 'test_index.R:13:5',
    'test_index.R:61: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:20:3', 'test_get_path.R:69:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_02_subset_extras.R:75:3'): by rpu ──────────────────────────────
  Error in `expect(nrow(out), 267)`: `ok` must be `TRUE` or `FALSE`, not the number 267.
  Backtrace:
      ▆
   1. └─testthat::expect(ok = nrow(out)) at test_02_subset_extras.R:75:3
   2.   └─testthat:::check_bool(ok)
   3.     └─testthat:::stop_input_type(...)
   4.       └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 1 | WARN 0 | SKIP 58 | PASS 315 ]
  Error:
  ! Test failures.
  Execution halted