tests/testthat/helper-localstack.R

LOCALSTACK_ENDPOINT <- "http://localhost:4566" # nolint

localstack_available <- function() {
  curl_check <- purrr::safely(curl::curl_fetch_memory, FALSE)
  is.null(curl_check(LOCALSTACK_ENDPOINT)$error)
}

Try the sixtyfour package in your browser

Any scripts or data that you put into this service are public.

sixtyfour documentation built on April 3, 2025, 8:22 p.m.