Running ‘testthat.R’ [5s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(StreamCatTools)
  > 
  > test_check("StreamCatTools")
  Saving _problems/test-lc_get_comid-8.R
  [ FAIL 1 | WARN 1 | SKIP 35 | PASS 4 ]
  
  ══ Skipped tests (35) ══════════════════════════════════════════════════════════
  • On CRAN (35): 'test-lc_get_nlcd.R:5:3', 'test-lc_get_nlcd.R:14:3',
    'test-lc_get_params.R:4:3', 'test-lc_get_params.R:11:3',
    'test-lc_get_params.R:18:3', 'test-lc_get_params.R:28:3',
    'test-lc_get_params.R:35:3', 'test-lc_get_params.R:42:3',
    'test-lc_get_params.R:50:3', 'test-lc_getdata.R:5:3',
    'test-lc_getdata.R:14:3', 'test-lc_getdata.R:23:3', 'test-lc_getdata.R:32:3',
    'test-lc_plot.R:5:3', 'test-sc_get_nlcd.R:5:3', 'test-sc_get_nlcd.R:14:3',
    'test-sc_get_nni.R:5:3', 'test-sc_get_nni.R:14:3',
    'test-sc_get_params.R:5:3', 'test-sc_get_params.R:12:3',
    'test-sc_get_params.R:22:3', 'test-sc_get_params.R:29:3',
    'test-sc_get_params.R:36:3', 'test-sc_get_params.R:43:3',
    'test-sc_get_params.R:50:3', 'test-sc_get_params.R:58:3',
    'test-sc_get_params.R:66:3', 'test-sc_get_params.R:76:3',
    'test-sc_getdata.R:4:3', 'test-sc_getdata.R:12:3', 'test-sc_getdata.R:22:3',
    'test-sc_getdata.R:31:3', 'test-sc_getdata.R:40:3', 'test-sc_getdata.R:49:3',
    'test-sc_plot.R:5:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lc_get_comid.R:8:3'): lc_get_comid for sample coordinates ──────
  Error in `dplyr::filter(dplyr::bind_rows(lapply(collections$collections, function(x) c(x[c("id", "title", "description", "itemType")], list(url = filter_list_kvp(x$links, "rel", "self", n = 1)$href)))), .data$itemType == "feature")`: ℹ In argument: `.data$itemType == "feature"`.
  Caused by error in `.data$itemType`:
  ! Column `itemType` not found in `.data`.
  
  [ FAIL 1 | WARN 1 | SKIP 35 | PASS 4 ]
  Error:
  ! Test failures.
  Execution halted