Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [5s/17s]
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(earthdatalogin)
  > 
  > test_check("earthdatalogin")
  [ FAIL 1 | WARN 1 | SKIP 11 | PASS 2 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • On CRAN (9): 'test-edl_download.R:3:3', 'test-edl_download.R:24:3',
    'test-edl_download.R:45:3', 'test-edl_netrc.R:2:3', 'test-edl_search.R:3:3',
    'test-edl_set_token.R:2:3', 'test-list-nasa-stacs.R:2:3',
    'test-list-nasa-stacs.R:14:3', 'test-stac-collections_fetch.R:2:3'
  • Only works inside AWS US-West-2 (2): 'test-edl_s3.R:4:3',
    'test-edl_s3.R:15:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-list-nasa-stacs.R:24:3'): get_nasa_stac_url() fails correctly ──
  <http_503/http_500/http_error/error/condition>
  Error in `list_nasa_stacs(cloud_only = cloud_only)`: Service Unavailable (HTTP 503).
  Backtrace:
      ▆
   1. ├─testthat::expect_error(get_nasa_stac_url("notadaac"), "notadaac not found in stacs") at test-list-nasa-stacs.R:24:3
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─earthdatalogin::get_nasa_stac_url("notadaac")
   8.   └─earthdatalogin::list_nasa_stacs(cloud_only = cloud_only)
   9.     └─httr::stop_for_status(cmr_catalogue)
  
  [ FAIL 1 | WARN 1 | SKIP 11 | PASS 2 ]
  Error: Test failures
  Execution halted