Document Unit Tests Roxygen-Style

Much as 'roxygen2' allows one to document functions in the same file as the function itself, 'roxut' allows one to write the unit tests in the same file as the function. Once processed, the unit tests are moved to the appropriate directory. Currently supports 'testthat' and 'tinytest' frameworks. The 'roxygen2' package provides much of the infrastructure.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("roxut")

0.2.23 by Bryan A. Hanson, 3 months ago


https://github.com/bryanhanson/roxut


Report a bug at https://github.com/bryanhanson/roxut/issues


Browse source code at https://github.com/cran/roxut


Authors: Bryan A. Hanson [aut, cre] , Hadley Wickham [aut, cph] (roxygen2 code) , Peter Danenberg [aut, cph] (roxygen2 code) , Gábor Csárdi [aut] (roxygen2 code) , Manuel Eugster [aut, cph] (roxygen2 code) , RStudio [cph] (roxygen2 code)


Documentation:   PDF Manual  


GPL-3 license


Depends on roxygen2

Suggests tinytest, testthat


See at CRAN