isScriptSaved: isScriptSaved

Description Usage Arguments Value

View source: R/isScriptSaved.R

Description

outputs question to the console asking if the current sparrow_control.R file has been saved and stopping execution until the user indicates that it has been saved

Executed By: executeRSPARROW.R

Usage

1
isScriptSaved(scriptName, testDir)

Arguments

scriptName

name of functional routine or '.R' control file

testDir

subdirectory in the results directory with the current run_id. If this directory exists it will be overwritten, if the user indicates 'yes' to the question in the console

Value

saved 1 indicated that the sparrow_control.R file has been saved or 2 indicated that it has not been saved and execution should be halted


tbep-tech/tbepRSparrow documentation built on Oct. 9, 2020, 6:24 a.m.