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

View source: R/CoreFunctions.R

addRequiredR Documentation

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

Description

This is a helper function used in the fusionwrapr package to build the text string for a required parameter. The resulting string is appended to cl.

Usage

addRequired(cl, req, quote = FALSE)

Arguments

cl

character string. Potentially contains other command line elements.

req

object containing the value for the required parameter.

quote

boolean indicating the entire parameter should be enclosed in quotes.

Value

A (invisible) string containing the modified cl string.

Examples

## Not run: 
addRequired(cl, "*.las")

## End(Not run)

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