tests/testthat.R

start_test <- function() {
  if (!requireNamespace("testthat", quietly = TRUE)) {
    message("testthat package is not installed, please install it before running tests.")
    return()
  }

  library(testthat)
  test_check("consibiocloudclient")
}

library(consibiocloudclient)

start_test()

Try the consibiocloudclient package in your browser

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

consibiocloudclient documentation built on Sept. 12, 2024, 9:34 a.m.