knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Overview

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.

Usage

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
)


MAMC-DCI/documenter documentation built on Jan. 5, 2023, 4:04 p.m.