parse_and_save {Rd2roxygen}R Documentation

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

Author(s)

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


[Package Rd2roxygen version 1.4.2 Index]