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")))
}

Try the pkgsearch package in your browser

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

pkgsearch documentation built on April 12, 2025, 5:07 p.m.