Rd2roxygen (version 1.7)

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)

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

Value

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