tests/testthat/helper.R

library(testthat)
library(allofus)

if (on_workbench()) {
  con <- aou_connect()
}

skip_workbench <- function() {
  skip_if_not(
    on_workbench(),
    "This test is only for the workbench"
  )
}

Try the allofus package in your browser

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

allofus documentation built on July 4, 2024, 9:09 a.m.