R/zzz.R

Defines functions .onLoad

.onLoad = function(libname, pkgname) {
    ns <- getNamespace(pkgname)
    expectations <- names(ns)[grepl("^expect_", names(ns))]
    tinytest::register_tinytest_extension(pkgname, expectations)
}

Try the ttdo package in your browser

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

ttdo documentation built on March 7, 2023, 5:27 p.m.