Learn R Programming

roxygen2 (version 2.2.2)

collate_roclet: Roclet: make Collate field in DESCRIPTION.

Description

Topologically sort R files and record in Collate field.

Usage

collate_roclet()

Arguments

Value

  • Rd roclet

Details

Each @include tag should specify the filename of one intrapackage dependency; multiple @include tags may be given.

See Also

Other roclets: namespace_roclet, rd_roclet

Examples

Run this code
#' `example-a.R', `example-b.R' and `example-c.R' reside
#' in the `example' directory, with dependencies
#' a -> {b, c}. This is `example-a.R'.
#' @include example-b.R
#' @include example-c.R
NULL

roclet <- collate_roclet()
roc_proc(roclet, dir('example'))
  roc_out(roclet, dir('example'), "example")

Run the code above in your browser using DataLab