Running ‘testthat.R’ [56s/333s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dataRetrieval)
  > test_check("dataRetrieval")
  [ FAIL 1 | WARN 0 | SKIP 45 | PASS 32 ]
  
  ══ Skipped tests (45) ══════════════════════════════════════════════════════════
  • On CRAN (45): 'tests_general.R:4:3', 'tests_general.R:214:3',
    'tests_general.R:261:3', 'tests_general.R:295:3', 'tests_general.R:302:3',
    'tests_general.R:310:3', 'tests_general.R:318:3', 'tests_general.R:334:3',
    'tests_general.R:346:3', 'tests_general.R:369:3', 'tests_general.R:388:3',
    'tests_general.R:407:3', 'tests_general.R:566:3', 'tests_general.R:624:3',
    'tests_imports.R:4:3', 'tests_imports.R:102:3', 'tests_imports.R:239:3',
    'tests_imports.R:252:3', 'tests_nldi.R:4:3', 'tests_nldi.R:27:3',
    'tests_nldi.R:43:3', 'tests_nldi.R:77:3', 'tests_nldi.R:95:3',
    'tests_nldi.R:102:3', 'tests_nldi.R:111:3', 'tests_nldi.R:119:3',
    'tests_nldi.R:129:3', 'tests_nldi.R:140:3', 'tests_userFriendly_fxns.R:4:3',
    'tests_userFriendly_fxns.R:70:3', 'tests_userFriendly_fxns.R:109:3',
    'tests_userFriendly_fxns.R:140:3', 'tests_userFriendly_fxns.R:153:3',
    'tests_userFriendly_fxns.R:186:3', 'tests_userFriendly_fxns.R:211:3',
    'tests_userFriendly_fxns.R:250:3', 'tests_userFriendly_fxns.R:270:3',
    'tests_userFriendly_fxns.R:295:3', 'tests_userFriendly_fxns.R:303:3',
    'tests_userFriendly_fxns.R:310:3', 'tests_userFriendly_fxns.R:318:3',
    'tests_userFriendly_fxns.R:337:3', 'tests_userFriendly_fxns.R:417:3',
    'tests_userFriendly_fxns.R:480:3', 'tests_userFriendly_fxns.R:506:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests_general.R:498:3'): profiles ───────────────────────────────────
  Error in `attr(retval, "queryTime") <- Sys.time()`: attempt to set an attribute on NULL
  Backtrace:
      ▆
   1. └─dataRetrieval::readWQPdata(siteid = "USGS-04024315", dataProfile = "resultPhysChem") at tests_general.R:498:3
  
  [ FAIL 1 | WARN 0 | SKIP 45 | PASS 32 ]
  Error: Test failures
  Execution halted