Learn R Programming

Rd2roxygen (version 1.16)

parse_and_save: Parse the input Rd file and save the roxygen documentation into a file

Description

Parse the input Rd file and save the roxygen documentation into a file

Usage

parse_and_save(path, file, usage = FALSE)

Value

a character vector if file is not specified, or write the vector into a file

Arguments

path

the path of the Rd file

file

the path to save the roxygen documentation

usage

logical: whether to include the usage section in the output

Author

Hadley Wickham; modified by Yihui Xie <http://yihui.org>