knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The package help helps you get the content of your help files into a list.
Install with:
remotes::install.github("moodymudskiper/help")
This is a basic example which shows you how to solve a common problem:
# equivalent calls : # doc(base::mean) # doc(mean, "base") # doc("mean", "base") help::doc(mean)
Note that the output has been simplified from the \\code{...}
etc that are
found in the help files, to get the raw version set simplify to FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.