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 helloworld 2.0.1
#> 9 helloworldPipeline 2.0.0
#> 10 helloworldSpatial 2.0.0
#> 11 helloworldTime 2.0.0
#> 12 helloworldTimePy 2.0.0
#> 13 helloworldUncertainty 2.0.1
#> 14 omniscape 2.1.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.0.1
#> 21 wisdm 2.1.0
#> 22 wisdm 2.1.2
#> 23 wisdm 2.1.4
#> 24 wisdm 2.1.5
#> 25 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 Example demonstrating how to create a package
#> 9 Example demonstrating how to use pipelines with an R model
#> 10 Example demonstrating how to use spatial data with an R model
#> 11 Example demonstrating how to use timesteps with an R model
#> 12 Example demonstrating how to use timesteps with a python model
#> 13 Example demonstrating how to use iterations with an R model
#> 14 Omni-directional habitat connectivity based on circuit theory
#> 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 Workbench for Integrated Species Distribution Modeling
#> 25 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:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworld\\2.0.1
#> 9 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldPipeline\\2.0.0
#> 10 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldSpatial\\2.0.0
#> 11 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldTime\\2.0.0
#> 12 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldTimePy\\2.0.0
#> 13 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\helloworldUncertainty\\2.0.1
#> 14 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\omniscape\\2.1.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.0.1
#> 21 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdm\\2.1.0
#> 22 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdm\\2.1.2
#> 23 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdm\\2.1.4
#> 24 C:\\Users\\birch\\AppData\\Local\\SyncroSim Studio\\Packages\\wisdm\\2.1.5
#> 25 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
#> 25 OK
# List all available packages on the server (including currently installed)
packages(installed = FALSE)
#> name version
#> 1 burnP3Plus 2.0.0
#> 2 burnP3PlusCell2Fire 2.0.0
#> 3 burnP3PlusPrometheus 2.0.0
#> 4 demosales 2.0.0
#> 5 dgsim 3.0.0
#> 6 ecoClassify 1.0.1
#> 7 helloworld 2.0.0
#> 8 helloworld 2.0.1
#> 9 helloworldPipeline 2.0.0
#> 10 helloworldSpatial 2.0.0
#> 11 helloworldTime 2.0.0
#> 12 helloworldTimePy 2.0.0
#> 13 helloworldUncertainty 2.0.1
#> 14 omniscape 2.1.1
#> 15 stsim 4.0.1
#> 16 stsim 4.3.5
#> 17 stsimecodep 4.0.0
#> 18 wisdm 2.1.0
#> 19 wisdmStsimConnector 1.0.0
#> 20 wisdmStsimConnector 1.0.1
#> description
#> 1 Burn-P3+ package for burn probability modeling
#> 2 Cell2Fire fire growth model package for BurnP3+
#> 3 Prometheus fire growth model package for BurnP3+
#> 4 Demo Sales SyncroSim Package
#> 5 Simulates demographics of wildlife populations
#> 6 ecoClassify package for image classification
#> 7 Example demonstrating how to create a SyncroSim package
#> 8 Example demonstrating how to create a SyncroSim package
#> 9 Example demonstrating how to use pipelines with an R model
#> 10 Example demonstrating how to use spatial data with an R model
#> 11 Example demonstrating how to use timesteps with an R model
#> 12 Example demonstrating how to use timesteps with a python model
#> 13 Example demonstrating how to use iterations with an R model
#> 14 Omni-directional habitat connectivity based on circuit theory
#> 15 The ST-Sim state-and-transition simulation model
#> 16 The ST-Sim state-and-transition simulation model
#> 17 Calculates TNC's unified ecological departure from reference conditions in ST-Sim
#> 18 Workbench for Integrated Species Distribution Modeling
#> 19 Connector package between WISDM and ST-Sim
#> 20 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://apexrms.github.io/demosales/
#> 5 https://apexrms.github.io/dgsim/
#> 6 https://apexrms.github.io/ecoClassify/
#> 7 https://apexrms.github.io/helloworld/
#> 8 https://apexrms.github.io/helloworld/
#> 9 https://apexrms.github.io/helloworldEnhanced/
#> 10 https://apexrms.github.io/helloworldEnhanced/
#> 11 https://apexrms.github.io/helloworldEnhanced/
#> 12 https://apexrms.github.io/helloworldEnhanced/
#> 13 https://apexrms.github.io/helloworldEnhanced/
#> 14 https://apexrms.github.io/omniscape/
#> 15 https://docs.stsim.net/
#> 16 https://docs.stsim.net/
#> 17 https://docs.stsim.net/
#> 18 https://apexrms.github.io/wisdm/
#> 19 https://apexrms.github.io/wisdm/
#> 20 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
# }