untangle_examples {sinew} | R Documentation |
Convert examples blocks in roxygen2 header to script
Description
Converts and aggregates roxygen2 examples into a single output file.
Usage
untangle_examples(input, output = "./roxy_ex_to_file.R")
Arguments
input |
character, file or directory |
output |
character, file path of output, Default: './roxy_ex_to_file.R' |
Details
If output is set to NULL then output returned as invisible character object.
Value
writes R file to disk
Author(s)
Jonathan Sidi
[Package sinew version 0.4.0 Index]