Use this to generate command without an active API connection, it allow to use function to edit a study to later on get API commands.
Arguments
- force
Logical, force mocking simulation even if antaresRead::setSimulationPathAPI has already been called.
- antares_version
Antares version number.
Examples
if (FALSE) { # \dontrun{
# Mock simulation API
mockSimulationAPI()
# Create an area
createArea("new area")
# Get commands
getVariantCommands()
} # }