knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Experimental 'roxygen' Tags and Extensions
Experimental 'roxygen' Tags and Extensions
Once on CRAN, install the package with
install.packages("roxygenlabs")x
Currently there is no official way to load a package when running
devtools::document()
or roxygen2::roxygenize()
, but you can use a trick:
put the package loading code into the Roxygen
field in DESCRIPTION
:
Roxygen: { library(roxygenlabs); list(markdown = TRUE) }
MIT © RStudio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.