add.roxy | R Documentation |
adds roxygen documentation headers to the top on R function and optionally write this to a file in the R folder.
add.roxy(obj, file = FALSE)
obj |
the function to create documentation for |
file |
if TRUE write to file (R/function name.R), Default: FALSE |
TRUE if successful, FALSE if not
makeOxygen
tidy_source
## Not run: if(interactive()){ #EXAMPLE1 } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.