Retrieves the packages installed or available in the current session if
called on a Session
object, or the packages added to a
SyncroSim Library if called on a SsimLibrary
object.
Usage
packages(ssimObject = NULL, installed = TRUE)
# S4 method for class 'character'
packages(ssimObject = NULL, installed = TRUE)
# S4 method for class 'missingOrNULL'
packages(ssimObject = NULL, installed = TRUE)
# S4 method for class 'Session'
packages(ssimObject = NULL, installed = TRUE)
# S4 method for class 'SsimLibrary'
packages(ssimObject)
Arguments
- ssimObject
Session
orSsimLibrary
object. IfNULL
(default),session()
will be used- installed
logical or character.
TRUE
(default) to list installed packages orFALSE
to list available packages on the server
Examples
# \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
packages(mySession)
#> name version
#> 1 burnP3Plus 2.0.0
#> 2 burnP3Plus 2.1.0
#> 3 burnP3PlusCell2Fire 2.0.0
#> 4 burnP3PlusPostProcess 1.0.0
#> 5 burnP3PlusPrometheus 2.0.0
#> 6 burnP3PlusPrometheus 2.0.1
#> 7 dgsim 3.0.0
#> 8 foresce 2.0.1
#> 9 helloworld 2.0.1
#> 10 helloworldPipeline 2.0.0
#> 11 helloworldSpatial 2.0.0
#> 12 helloworldTime 2.0.0
#> 13 helloworldTimePy 2.0.0
#> 14 helloworldUncertainty 2.0.1
#> 15 omniscape 2.1.2
#> 16 prioritizr 2.1.0
#> 17 stsim 4.0.1
#> 18 stsim 4.3.5
#> 19 stsimecodep 4.0.0
#> 20 wisdm 2.1.0
#> 21 wisdm 2.1.5
#> 22 wisdm 2.1.7
#> 23 wisdm 2.1.11
#> 24 wisdmStsimConnector 1.0.1
#> description
#> 1 Burn probability modeling
#> 2 Burn probability modeling
#> 3 Cell2Fire fire growth model for BurnP3+
#> 4 Post-process BurnP3+ model results
#> 5 Prometheus fire growth model for BurnP3+
#> 6 Prometheus fire growth model for BurnP3+
#> 7 Simulates demographics of wildlife populations
#> 8 Forecasting scenarios of future land cover
#> 9 Example demonstrating how to create a package
#> 10 Example demonstrating how to use pipelines with an R model
#> 11 Example demonstrating how to use spatial data with an R model
#> 12 Example demonstrating how to use timesteps with an R model
#> 13 Example demonstrating how to use timesteps with a python model
#> 14 Example demonstrating how to use iterations with an R model
#> 15 Omni-directional habitat connectivity based on circuit theory
#> 16 Systematic conservation planning
#> 17 The ST-Sim state-and-transition simulation model
#> 18 The ST-Sim state-and-transition simulation model
#> 19 Calculates TNC's unified ecological departure from reference conditions in ST-Sim
#> 20 Workbench for Integrated Species Distribution Modeling
#> 21 Workbench for Integrated Species Distribution Modeling
#> 22 Workbench for Integrated Species Distribution Modeling
#> 23 Workbench for Integrated Species Distribution Modeling
#> 24 Connector package between WISDM and ST-Sim
#> location
#> 1 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\burnP3Plus\\2.0.0
#> 2 C:\\gitprojects\\BurnP3Plus\\src
#> 3 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\burnP3PlusCell2Fire\\2.0.0
#> 4 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\burnP3PlusPostProcess\\1.0.0
#> 5 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\burnP3PlusPrometheus\\2.0.0
#> 6 C:\\gitprojects\\BurnP3PlusPrometheus\\src
#> 7 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\dgsim\\3.0.0
#> 8 C:\\gitprojects\\foresce\\syncrosim-3\\src
#> 9 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworld\\2.0.1
#> 10 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldPipeline\\2.0.0
#> 11 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldSpatial\\2.0.0
#> 12 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldTime\\2.0.0
#> 13 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldTimePy\\2.0.0
#> 14 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldUncertainty\\2.0.1
#> 15 C:\\gitprojects\\omniscape\\src
#> 16 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\prioritizr\\2.1.0
#> 17 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\stsim\\4.0.1
#> 18 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\stsim\\4.3.5
#> 19 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\stsimecodep\\4.0.0
#> 20 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdm\\2.1.0
#> 21 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdm\\2.1.5
#> 22 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdm\\2.1.7
#> 23 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdm\\2.1.11
#> 24 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdmStsimConnector\\1.0.1
#> status
#> 1 OK
#> 2 OK
#> 3 OK
#> 4 OK
#> 5 OK
#> 6 OK
#> 7 OK
#> 8 OK
#> 9 OK
#> 10 OK
#> 11 OK
#> 12 OK
#> 13 OK
#> 14 OK
#> 15 OK
#> 16 OK
#> 17 OK
#> 18 OK
#> 19 OK
#> 20 OK
#> 21 OK
#> 22 OK
#> 23 OK
#> 24 OK
# List all available packages on the server (including currently installed)
packages(installed = FALSE)
#> name version
#> 1 burnP3FireSTARR 1.0.3
#> 2 burnP3Plus 2.0.0
#> 3 burnP3Plus 2.1.0
#> 4 burnP3PlusCell2Fire 2.0.0
#> 5 burnP3PlusPrometheus 2.0.0
#> 6 burnP3PlusPrometheus 2.0.1
#> 7 demosales 2.0.0
#> 8 dgsim 3.0.0
#> 9 ecoClassify 1.0.1
#> 10 helloworld 2.0.0
#> 11 helloworld 2.0.1
#> 12 helloworldPipeline 2.0.0
#> 13 helloworldSpatial 2.0.0
#> 14 helloworldTime 2.0.0
#> 15 helloworldTimePy 2.0.0
#> 16 helloworldUncertainty 2.0.1
#> 17 omniscape 2.1.1
#> 18 omniscapeImpact 2.0.0
#> 19 stsim 4.0.1
#> 20 stsim 4.3.5
#> 21 stsimecodep 4.0.0
#> 22 wisdm 2.1.0
#> 23 wisdm 2.1.11
#> 24 wisdmStsimConnector 1.0.0
#> 25 wisdmStsimConnector 1.0.1
#> description
#> 1 FireSTARR fire growth model package for BurnP3+
#> 2 Burn-P3+ package for burn probability modeling
#> 3 Burn-P3+ package for burn probability modeling
#> 4 Cell2Fire fire growth model package for BurnP3+
#> 5 Prometheus fire growth model package for BurnP3+
#> 6 Prometheus fire growth model package for BurnP3+
#> 7 Demo Sales SyncroSim Package
#> 8 Simulates demographics of wildlife populations
#> 9 ecoClassify package for image classification
#> 10 Example demonstrating how to create a SyncroSim package
#> 11 Example demonstrating how to create a SyncroSim package
#> 12 Example demonstrating how to use pipelines with an R model
#> 13 Example demonstrating how to use spatial data with an R model
#> 14 Example demonstrating how to use timesteps with an R model
#> 15 Example demonstrating how to use timesteps with a python model
#> 16 Example demonstrating how to use iterations with an R model
#> 17 Omni-directional habitat connectivity based on circuit theory
#> 18 Calculates changes in connectivity categories from a baseline
#> 19 The ST-Sim state-and-transition simulation model
#> 20 The ST-Sim state-and-transition simulation model
#> 21 Calculates TNC's unified ecological departure from reference conditions in ST-Sim
#> 22 Workbench for Integrated Species Distribution Modeling
#> 23 Workbench for Integrated Species Distribution Modeling
#> 24 Connector package between WISDM and ST-Sim
#> 25 Connector package between WISDM and ST-Sim
#> url
#> 1 https://burnp3.github.io/BurnP3Plus/
#> 2 https://burnp3.github.io/BurnP3Plus/
#> 3 https://burnp3.github.io/BurnP3Plus/
#> 4 https://burnp3.github.io/BurnP3Plus/
#> 5 https://burnp3.github.io/BurnP3Plus/
#> 6 https://burnp3.github.io/BurnP3Plus/
#> 7 https://apexrms.github.io/demosales/
#> 8 https://apexrms.github.io/dgsim/
#> 9 https://apexrms.github.io/ecoClassify/
#> 10 https://apexrms.github.io/helloworld/
#> 11 https://apexrms.github.io/helloworld/
#> 12 https://apexrms.github.io/helloworldEnhanced/
#> 13 https://apexrms.github.io/helloworldEnhanced/
#> 14 https://apexrms.github.io/helloworldEnhanced/
#> 15 https://apexrms.github.io/helloworldEnhanced/
#> 16 https://apexrms.github.io/helloworldEnhanced/
#> 17 https://apexrms.github.io/omniscape/
#> 18 https://github.com/ApexRMS/omniscapeImpact
#> 19 https://docs.stsim.net/
#> 20 https://docs.stsim.net/
#> 21 https://docs.stsim.net/
#> 22 https://apexrms.github.io/wisdm/
#> 23 https://apexrms.github.io/wisdm/
#> 24 https://apexrms.github.io/wisdm/
#> 25 https://apexrms.github.io/wisdm/
# Check the package(s) in your SsimLibrary
packages(myLibrary)
#> name description version schema status
#> 1 core SyncroSim Core Package 3.0.21 3.0 OK
#> 2 stsim The ST-Sim state-and-transition simulation model 4.3.5 4.3 OK
# }