Sharon Machlis · @smach
2309 followers · 263 posts · Server masto.machlis.com

The {document} 📦 creates roxygen2-style documentation for functions that aren't (yet) part of an R package.

In the screenshot below, top left shows a test.R file with a function called test_function , including roxygen definitions. After running

d <- document("test.R")

I can use

?test_function

to read the help file as if it were part of a package.

By Andreas Dominik Cullmann

cran.r-project.org/web/package

@rstats

#rstats #roxygen #roxygen2

Last updated 1 year ago

George G Vega Yon · @gvegayon
29 followers · 513 posts · Server qoto.org

Hey, pkg devs, we are trying , and it seems that tags won't work like they do with . Is this a thing? cc @Emil_Hvitfeldt

#rstats #roxygen2 #rcpp #cpp11

Last updated 2 years ago