addOption: FUSION R command line interface - Build text string for a...

View source: R/CoreFunctions.R

addOptionR Documentation

FUSION R command line interface – Build text string for a command line option.

Description

This is a helper function used in the fusionwrapr package to build the text string for command line options that require parameters. The resulting string is appended to cl.

Usage

addOption(cl, opt, quote = FALSE)

Arguments

cl

character string. Potentially contains other command line elements.

opt

object containing the option value. The name of the object and the value are used when constructing the option text.

quote

boolean indicating the entire option should be enclosed in quotes.

Value

A (invisible) string containing the modified cl string.

Examples

## Not run: 
addOption(cl, zmin)

## End(Not run)

bmcgaughey1/fusionwrapr documentation built on Dec. 1, 2024, 7:13 a.m.