tests/testthat.R

library(testthat)
library(liteq)

testme <- function() {
  cache <- tempfile()
  on.exit(unlink(cache, recursive = TRUE), add = TRUE)
  withr::with_envvar(
    c("LITEQ_CACHE_DIR" = cache),
    test_check("liteq")
  )
}

Try the liteq package in your browser

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

liteq documentation built on May 2, 2019, 4:18 a.m.