Roxygen2 allows you to write documentation in comment blocks co-located with code.
The only function you're likely to need from roxygen2 is
roxygenize
. Otherwise refer to the vignettes to see
how to format the documentation.
export() exports your functions ( export in roxygen2). import() imports all functions from other packages (). importFrom() imports specific functions from a single package ( importFrom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.