dev_help | R Documentation |
dev_help()
searches for source documentation provided in packages
loaded by devtools. To improve performance, the .Rd
files are
parsed to create to index once, then cached. Use
dev_topic_index_reset()
to clear that index. You can manually
retrieve the index for a local package with dev_topic_index()
.
dev_help(
topic,
dev_packages = NULL,
stage = "render",
type = getOption("help_type")
)
dev_topic_find(topic, dev_packages = NULL)
dev_topic_index(path = ".")
dev_topic_index_reset(pkg_name)
topic |
name of help to search for. |
dev_packages |
A character vector of package names to search within.
If |
stage |
at which stage ("build", "install", or "render") should
|
type |
of html to produce: |
path |
Path to package. |
pkg_name |
Name of package. |
## Not run:
library("ggplot2")
help("ggplot") # loads installed documentation for ggplot
load_all("ggplot2")
dev_help("ggplot") # loads development documentation for ggplot
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.