untangle_examples: Convert examples blocks in roxygen2 header to script

View source: R/untangle_examples.R

untangle_examplesR 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


sinew documentation built on March 31, 2022, 5:06 p.m.