make.collate.roclet: Make collate roclet which parses the given files;...

Description Usage Arguments Details Value See Also Examples

Description

Make collate roclet which parses the given files; topologically sorting @includes, and either merging the Collate: directive with a pre-existing ‘DESCRIPTION’ or writing to standard out.

Usage

1
make.collate.roclet(merge.file, target.file="", verbose=TRUE)

Arguments

merge.file

DESCRIPTION’ file with which to merge directive; or NULL for none

target.file

whither to cat directive (whether merged or not); blank line is standard out

verbose

whether to describe what we're doing with the target.file

Details

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

Contains the member function parse which parses an arbitrary number of files, and parse.dir which recursively parses a directory tree.

Value

Rd roclet

See Also

make.roclet

Examples

1
2
3
4
5
6
7
8
9
#' `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
roxygen()

roclet <- make.collate.roclet()
## Not run: roclet$parse.dir('example')

roxygen documentation built on May 2, 2019, 4:44 p.m.