ssimUpdate: Apply updates

ssimUpdateR Documentation

Apply updates

Description

Apply updates to a SsimLibrary, or a Project or Scenario associated with a SsimLibrary.

Usage

ssimUpdate(ssimObject)

## S4 method for signature 'character'
ssimUpdate(ssimObject)

## S4 method for signature 'SsimObject'
ssimUpdate(ssimObject)

Arguments

ssimObject

Session, Project, or SsimLibrary object. If NULL (default), session() will be used

Value

Invisibly returns TRUE upon success (i.e.successful update) and FALSE upon failure.

Examples

## Not run: 
# Set the file path and name of the new SsimLibrary
myLibraryName <- file.path(tempdir(),"testlib")

# Set the SyncroSim Session, SsimLibrary, and Project
mySession <- session()
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession,
                         overwrite=TRUE)
myProject <- project(myLibrary, project = "My Project")

# Update Project
ssimUpdate(myProject)

# Create Scenario
myScenario <- scenario(myLibrary, scenario = "My Scenario")

# Update scenario
ssimUpdate(myScenario)

## End(Not run)


rsyncrosim documentation built on Oct. 7, 2023, 9:08 a.m.