tests/testthat/setup.R

on_cran <- !isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false")))

if (!on_cran) {
  has_chromote_envvar <- !identical(Sys.getenv("CHROMOTE_CHROME"), "")

  if (!has_chromote_envvar) {
    local_chrome_version("latest-stable", "chrome")
  }
}

Try the chromote package in your browser

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

chromote documentation built on April 4, 2025, 1:43 a.m.