tests/testthat.R

desc_path <- list.files("../","^DESCRIPTION$",
                        full.names = TRUE, recursive = TRUE)[1]
pkg <- read.dcf(desc_path, fields = "Package")[1]
library(testthat)
library(pkg, character.only = TRUE)

test_check(pkg)
neurogenomics/EpiPrepare documentation built on March 19, 2022, 7:13 a.m.