tests/testthat.R

library(testthat)
library(ALA4R)

## run each test with and without caching
check_caching <- function(f) {
    ala_config(caching = "off")
    f()
    ala_config(caching = "on")
    f()
    f()
}

test_check("ALA4R")

Try the ALA4R package in your browser

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

ALA4R documentation built on July 12, 2021, 9:07 a.m.