addPackageSnippets | R Documentation |
addPackageSnippets
copies all (missing) snippet definitions
in 'inst/rstudio/Rsnippets.txt' and 'Rmdsnippets.txt' to the RStudios user snippet location.
addPackageSnippets()
boolean invisible(FALSE) if nothing was added, invisible(TRUE) if snipped definitions were added
https://stackoverflow.com/questions/62220596/can-r-packages-add-code-snippets-to-users-snippet-files
## Not run:
addPackageSnippets()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.