Description Usage Arguments Value Examples
Generate a basic roxygen2 .R file
1 |
file |
A connection, or a character string naming the file to print to.
If |
append |
append logical. Only used if the argument file is the name of file (and not a connection or "|cmd"). If TRUE output will be appended to file; otherwise, it will overwrite the contents of file. This allows for appnding to the main package .R file. |
copy2clip |
logical. If |
... |
A function. |
Returns a basic .R file for a function with roxygen2 documentation.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.