checkRunSaveFile: FUSION R command line interface - Verify compatibility of...

View source: R/CoreFunctions.R

checkRunSaveFileR Documentation

FUSION R command line interface – Verify compatibility of function options.

Description

This is a helper function used in the fusionwrapr package to verify the combination of the runCmd, saveCmd, and cmdFile options for functions that build command line.

Usage

checkRunSaveFile(runCmd, saveCmd, cmdFile)

Arguments

runCmd

boolean indicating command line should be executed.

saveCmd

boolean indicating command line should be written to a file.

cmdFile

character string containing the name of the file to which commands should be written.

Value

An (invisible) boolean TRUE, If the options are inconsistent, execution stops.

Examples

## Not run: 
checkRunSaveFile(FALSE, TRUE, "test.bat")

## End(Not run)

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