collect_roxygen | R Documentation |
This function crawls and aggregates roxygen documentation into a tibble format. To work properly, elements must be separated with the named fields at title, at description, at ...), each at will be used as column name. The column name will also have 80 character to show the margin limit of each chunk of documentation.
collect_roxygen(folder_r = "R")
folder_r |
A character string identifying the folder to index. If not specified, 'R/' is the default. |
A tibble where each line represents a function described in a package, and each column is documentation field. Most common fields (title, description, details, param, see also, return and examples are placed ahead).
{
library(tidyr)
try({tibble(collect_roxygen(tempfile()))}, silent = FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.