tests/testthat/helper-setup.R

# Setup
options(rock.url = "http://localhost:8085")
#options(rock.url = "https://rock-demo.obiba.org")

check_skip <- function() {
  skip_on_cran()
  skip_on_ci()
  skip_if(is.null(getOption("rock.url")), "Skipping tests because Rock url is not defined")
}

Try the rockr package in your browser

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

rockr documentation built on March 12, 2021, 5:06 p.m.