test<-()
assigns unit test code to objects (functions) as attribute "test"
get_test()
retrieves "test"
attributetest_fun()
retrieves "test"
attribute and executes unit testunittest()
retrieves all "test"
attributes and executes these unit testsunittest()
by devtools::test()
& Co., see the tests/
and tests/testthat/
directories.