tests/testthat/helper-skip-token.R

skip_if_no_token <- function() {
  if (identical(Sys.getenv("RIINGO_TOKEN"), "")) {
    testthat::skip("No authentication available")
  }
}

Try the riingo package in your browser

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

riingo documentation built on Sept. 13, 2020, 5:15 p.m.