Learn R Programming

sinew (version 0.4.0)

untangle_examples: 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'

Value

writes R file to disk

Details

If output is set to NULL then output returned as invisible character object.