The first line will be the title for the function (here “Illustration of crayon colors”).
Include a blank #' line and then write a longer description. (“Creates a plot of the crayon colors in …”).
Roxygen comments start with #'
so you can continue to use regular comments for other purposes.
For more information about Roxygen, visit this link.
At minimum, add the following roxygen2 tags to each file in the R
folder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.