purgeOutput: Delete the contents of the output folder of a model.

View source: R/Framework.R

purgeOutputR Documentation

Delete the contents of the output folder of a model.

Description

This function is run by runModel to clear off any files present in the output folder of a model. It should also be used by GUIs when running a model.

Usage

purgeOutput(projectPath, modelName)

Arguments

projectPath

The path to the StoX project, i.e., the folder of the project with the sub folders "input", "output" and "process". Can possibly be the path to a file inside the project folder.

modelName

The name of the model (possible values are "baseline", "analysis" and "report").


StoXProject/RstoxFramework documentation built on Oct. 17, 2023, 1:24 p.m.