knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
It is sometimes necessary to document all the files in a directory. Using the function document_it, all files can quickly and thoroughly be documented automatically. By creating an annotation file, additional comments can be added for each file without additional intervention.
The package can be loaded via the library function.
# Load the package. library(documenter)
The function document_it accepts 3 arguments:
An example use case is provided below.
document_it( input_directory = "man", output_file = "documentation", annotation_file = NULL )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.