powered by
You can use this in your package DESCRIPTION like this:
Roxygen: list(roclets = c("collate", "rd", "namespace", "doctest::dt_roclet"))
dt_roclet()
The doctest roclet
if (FALSE) { roxygen2::roxygenize(roclets = "doctest::dt_roclet") }
Run the code above in your browser using DataLab