Retrieves the packages installed or available for this version of SyncroSim.
package(ssimObject = NULL, installed = TRUE, listTemplates = NULL) # S4 method for character package(ssimObject = NULL, installed = TRUE, listTemplates = NULL) # S4 method for missingOrNULL package(ssimObject = NULL, installed = TRUE, listTemplates = NULL) # S4 method for Session package(ssimObject = NULL, installed = TRUE, listTemplates = NULL) # S4 method for SsimLibrary package(ssimObject)
ssimObject |
|
---|---|
installed | logical or character. |
listTemplates | character. Name of a SyncroSim package. If not |
Returns a data.frame
of packages installed or templates available
for a specified package.
# \donttest{ # Set the file path and name of the new SsimLibrary myLibraryName <- file.path(tempdir(),"testlib") # Set the SyncroSim Session and SsimLibrary mySession <- session() myLibrary <- ssimLibrary(name = myLibraryName, session = mySession) # List all installed packages package(mySession)#> name #> 1 burnP3 #> 2 helloworld #> 3 helloworldConda #> 4 helloworldOmni #> 5 helloworldPipeline #> 6 helloworldSpatial #> 7 helloworldTime #> 8 helloworldUncertainty #> 9 netlogo #> 10 stconnect #> 11 stsim #> 12 stsimsf #> description #> 1 Burn-P3 package for burn probability modeling #> 2 Example demonstrating how to create a package #> 3 Example demonstrating how to create a package with Conda environments #> 4 Example demonstrating how to create a package #> 5 Example demonstrating how to use pipelines #> 6 Example demonstrating how to use spatial data #> 7 Example demonstrating how to use timesteps #> 8 Example demonstrating how to use iterations #> 9 Runs the NetLogo agent-based modeling environment #> 10 Connectivity planning for future climate and land-use change #> 11 The ST-Sim state-and-transition simulation model #> 12 Integrates stocks and flows into the ST-Sim simulation model #> version #> 1 0.0.0 #> 2 1.0.1 #> 3 1.0.1 #> 4 1.0.1 #> 5 1.0.0 #> 6 1.0.3 #> 7 1.0.0 #> 8 1.0.0 #> 9 1.2.0 #> 10 1.1.16 #> 11 3.3.5 #> 12 3.3.4# List all the installed base packages package(installed = "BASE")#> name #> 1 burnP3 #> 2 helloworld #> 3 helloworldConda #> 4 helloworldOmni #> 5 helloworldPipeline #> 6 helloworldSpatial #> 7 helloworldTime #> 8 helloworldUncertainty #> 9 netlogo #> 10 stconnect #> 11 stsim #> description #> 1 Burn-P3 package for burn probability modeling #> 2 Example demonstrating how to create a package #> 3 Example demonstrating how to create a package with Conda environments #> 4 Example demonstrating how to create a package #> 5 Example demonstrating how to use pipelines #> 6 Example demonstrating how to use spatial data #> 7 Example demonstrating how to use timesteps #> 8 Example demonstrating how to use iterations #> 9 Runs the NetLogo agent-based modeling environment #> 10 Connectivity planning for future climate and land-use change #> 11 The ST-Sim state-and-transition simulation model #> version #> 1 0.0.0 #> 2 1.0.1 #> 3 1.0.1 #> 4 1.0.1 #> 5 1.0.0 #> 6 1.0.3 #> 7 1.0.0 #> 8 1.0.0 #> 9 1.2.0 #> 10 1.1.16 #> 11 3.3.5# List all available packages on the server (including currently installed) package(installed = FALSE)#> name #> 1 demosales #> 2 dgsim #> 3 helloworld #> 4 helloworldPipeline #> 5 helloworldSpatial #> 6 helloworldTime #> 7 helloworldUncertainty #> 8 landfirevegmodels #> 9 lucas #> 10 netlogo #> 11 stconnect #> 12 stsim #> 13 stsimcbmcfs3 #> 14 stsimecodep #> 15 stsimsf #> description #> 1 Example SyncroSim Base Package of a very simple sales forecasting model #> 2 Simulates demographics of wildlife populations #> 3 Example demonstrating how to create a package #> 4 Example using pipelines #> 5 Example using spatial data #> 6 Example using timesteps #> 7 Example using iterations to represent uncertainty #> 8 LANDFIRE vegetation models #> 9 Land Use and Carbon Scenario Simulator (LUCAS) #> 10 Runs the NetLogo agent-based modeling environment #> 11 Connectivity planning for future climate and land-use change #> 12 The ST-Sim state-and-transition simulation model #> 13 Integrates the Carbon Budget Model for the Canadian Forest Sector (CBM-CFS3) into the ST-Sim simulation model #> 14 Calculates ecological departure in ST-Sim using the LANDFIRE Fire Regime Condition Class [*** REQUIRES SyncroSim v2.2.3 or higher ***] #> 15 Integrates stocks and flows into the ST-Sim simulation model #> version #> 1 1.1.0 #> 2 2.3.0 #> 3 1.0.1 #> 4 1.0.0 #> 5 1.0.3 #> 6 1.0.0 #> 7 1.0.0 #> 8 1.1.0 #> 9 1.0.6 #> 10 1.2.0 #> 11 1.1.16 #> 12 3.3.5 #> 13 1.0.13 #> 14 3.3.0 #> 15 3.3.4# Check the package you're SsimLibrary is currently using package(myLibrary)#> name description version #> 1 stsim The ST-Sim state-and-transition simulation model 3.3.5#>package(listTemplates = "helloworldSpatial")#> name displayName installed #> 1 helloworldSpatial_example-library example-library Yes# }