Running 'testthat.R' [21s]
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(rsi)
  > 
  > test_check("rsi")
  Starting 2 test processes
  [ FAIL 18 | WARN 64 | SKIP 18 | PASS 50 ]
  
  ══ Skipped tests (18) ══════════════════════════════════════════════════════════
  • Environment variable `rsi_pc_key` not set (1): 'test-get_stac_data.R:117:3'
  • On CRAN (17): 'test-get_stac_data.R:2:3', 'test-get_stac_data.R:25:3',
    'test-get_stac_data.R:48:3', 'test-get_stac_data.R:72:3',
    'test-get_stac_data.R:93:3', 'test-get_stac_data.R:142:3',
    'test-get_stac_data.R:167:3', 'test-get_stac_data.R:189:3',
    'test-get_stac_data.R:207:3', 'test-misc.R:2:3',
    'test-spectral_indices.R:17:3', 'test-spectral_indices.R:58:3',
    'test-spectral_indices.R:64:3', 'test-spectral_indices.R:70:3',
    'test-spectral_indices.R:176:3', 'test-stack_rasters.R:116:3',
    'test-stack_rasters.R:136:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-spectral_indices.R:52:3'): no cache ──────────────────────────
  Expected `spectral_indices()` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:76:3'): no cache, update true ─────────────
  Expected `spectral_indices(update_cache = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:82:3'): no cache, download true ───────────
  Expected `spectral_indices(download_indices = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:88:3'): no cache, download and update true ──
  Expected `spectral_indices(download_indices = TRUE, update_cache = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:93:3'): new cache ─────────────────────────
  Expected `spectral_indices()` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:98:3'): new cache, update false ───────────
  Expected `spectral_indices(update_cache = FALSE)` to run without any warnings.
  i Actually got a <rsi_failed_download> with text:
    No cache file present and `download_indices` set to `FALSE`.
    i Returning (likely outdated) package data instead.
  ── Failure ('test-spectral_indices.R:103:3'): new cache, download false ────────
  Expected `spectral_indices(download_indices = FALSE)` to run without any warnings.
  i Actually got a <rsi_failed_download> with text:
    No cache file present and `download_indices` set to `FALSE`.
    i Returning (likely outdated) package data instead.
  ── Failure ('test-spectral_indices.R:108:3'): new cache, download and update false ──
  Expected `spectral_indices(download_indices = FALSE, update_cache = FALSE)` to run without any warnings.
  i Actually got a <rsi_failed_download> with text:
    No cache file present and `download_indices` set to `FALSE`.
    i Returning (likely outdated) package data instead.
  ── Failure ('test-spectral_indices.R:113:3'): new cache, update true ───────────
  Expected `spectral_indices(update_cache = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:118:3'): new cache, download true ─────────
  Expected `spectral_indices(download_indices = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:123:3'): new cache, download and update true ──
  Expected `spectral_indices(download_indices = TRUE, update_cache = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:130:3'): old cache ────────────────────────
  Expected `spectral_indices()` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:137:3'): old cache, update false ──────────
  Expected `spectral_indices(update_cache = FALSE)` to run without any warnings.
  i Actually got a <rsi_failed_download> with text:
    No cache file present and `download_indices` set to `FALSE`.
    i Returning (likely outdated) package data instead.
  ── Failure ('test-spectral_indices.R:144:3'): old cache, download false ────────
  Expected `spectral_indices(download_indices = FALSE)` to run without any warnings.
  i Actually got a <rsi_failed_download> with text:
    No cache file present and `download_indices` set to `FALSE`.
    i Returning (likely outdated) package data instead.
  ── Failure ('test-spectral_indices.R:151:3'): old cache, download and update false ──
  Expected `spectral_indices(download_indices = FALSE, update_cache = FALSE)` to run without any warnings.
  i Actually got a <rsi_failed_download> with text:
    No cache file present and `download_indices` set to `FALSE`.
    i Returning (likely outdated) package data instead.
  ── Failure ('test-spectral_indices.R:158:3'): old cache, update true ───────────
  Expected `spectral_indices(update_cache = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:165:3'): old cache, download true ─────────
  Expected `spectral_indices(download_indices = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  ── Failure ('test-spectral_indices.R:172:3'): old cache, download and update true ──
  Expected `spectral_indices(download_indices = TRUE, update_cache = TRUE)` to run without any warnings.
  i Actually got a <simpleWarning> with text:
    URL 'https://raw.githubusercontent.com/awesome-spectral-indices/awesome-spectral-indices/main/output/spectral-indices-dict.json': status was 'SSL connect error'
  
  [ FAIL 18 | WARN 64 | SKIP 18 | PASS 50 ]
  Error: Test failures
  Execution halted