Running ‘testthat.R’ [3s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(noaaoceans)
  > 
  > test_check("noaaoceans")
  [ FAIL 1 | WARN 0 | SKIP 10 | PASS 18 ]
  
  ══ Skipped tests (10) ══════════════════════════════════════════════════════════
  • On CRAN (8): 'test_data_type.R:6:5', 'test_data_type.R:19:5',
    'test_data_type.R:29:5', 'test_data_type.R:39:5', 'test_data_type.R:45:5',
    'test_station_inventory.R:8:5', 'test_station_inventory.R:13:5',
    'test_station_inventory.R:18:5'
  • Skipping until I can find a station with a notice (2):
    'test_query_metadata.R:35:5', 'test_query_metadata.R:40:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_query_metadata.R:58:5'): Data Frame is returned for call with type specified ──
  <http_500/http_error/error/condition>
  Error in `query_metadata(type = "waterlevels")`: Internal Server Error (HTTP 500).
  Backtrace:
      ▆
   1. ├─testthat::expect_is(query_metadata(type = "waterlevels"), "data.frame") at test_query_metadata.R:58:5
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─noaaoceans::query_metadata(type = "waterlevels")
   5.   └─httr::stop_for_status(api_response)
  
  [ FAIL 1 | WARN 0 | SKIP 10 | PASS 18 ]
  Error: Test failures
  Execution halted

Running ‘testthat.R’ [24s/144s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(ready4)
  > 
  > test_check("ready4")
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 36 ]
  
  ══ Skipped tests (7) ═══════════════════════════════════════════════════════════
  • On CRAN (7): 'test-fn_get.R:3:3', 'test-fn_get.R:14:3', 'test-fn_make.R:3:3',
    'test-fn_make.R:15:3', 'test-fn_make.R:24:3', 'test-fn_make.R:35:3',
    'test-fn_make.R:45:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-fn_make.R:14:3'): Kable of release history of subroutines in a GitHub repository is generated ──
  Expected `subroutines_kbl <- make_code_releases_tbl("Subroutine", gh_repo_1L_chr = "ready4-dev/ready4")` to run without any errors.
  ℹ Actually got a <subscriptOutOfBoundsError> with text:
    subscript out of bounds
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 36 ]
  Error: Test failures
  Execution halted