inst/tinytest/test_extensibility.R

register_tinytest_extension(pkg="lulz"
  , functions=c("fee","fi","fu","bar"))

ext <- getOption("tt.extensions")
expect_equal(ext, list(lulz = c("fee","fi","fu","bar")  ))

Try the tinytest package in your browser

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

tinytest documentation built on March 7, 2023, 7:43 p.m.