tests/testthat/helper.R

skip_if_offline <- function() {
  if (!is_online()) skip("Offline")
}

if (getOption("repos")["CRAN"] == "@CRAN@") {
  options(repos = structure(c(CRAN = "http://cran.rstudio.com")))
}
metacran/seer documentation built on June 15, 2025, 8:32 a.m.