smach,
@smach@masto.machlis.com avatar

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

https://cran.r-project.org/web/packages/document/vignettes/Introduction_to_document.html

@rstats

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rstats@a.gup.pe
  • ethstaker
  • DreamBathrooms
  • thenastyranch
  • ngwrru68w68
  • Durango
  • magazineikmin
  • Youngstown
  • InstantRegret
  • rosin
  • slotface
  • tester
  • kavyap
  • cubers
  • osvaldo12
  • JUstTest
  • khanakhh
  • cisconetworking
  • tacticalgear
  • everett
  • mdbf
  • Leos
  • anitta
  • GTA5RPClips
  • normalnudes
  • modclub
  • provamag3
  • megavids
  • lostlight
  • All magazines