# Core Utilities for Developing and Running Spatially Explicit Discrete Event Models

## Documentation for package ‘SpaDES.core’ version 1.0.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

A C D E F G I K L M N O P R S T U Z misc

SpaDES.core-package | Categorized overview of the 'SpaDES.core' package

## -- A --

all.equal.simList | All equal method for simLists
append_attr | Add a module to a 'moduleList'
append_attr-method | Add a module to a 'moduleList'

## -- C --

Cache | '.robustDigest' for 'simList' objects
cachePath | Specify paths for modules, inputs, outputs, and temporary rasters
cachePath-method | Specify paths for modules, inputs, outputs, and temporary rasters
cachePath<- | Specify paths for modules, inputs, outputs, and temporary rasters
cachePath<--method | Specify paths for modules, inputs, outputs, and temporary rasters
checkModule | Check for the existence of a remote module
checkModule-method | Check for the existence of a remote module
checkModuleLocal | Check for the existence of a module locally
checkModuleLocal-method | Check for the existence of a module locally
checkObject | Check for existence of object(s) referenced by a 'objects' slot of a 'simList' object
checkObject-method | Check for existence of object(s) referenced by a 'objects' slot of a 'simList' object
checkParams | Check use and existence of params passed to simulation.
checkParams-method | Check use and existence of params passed to simulation.
checkpointFile | Simulation checkpoints.
checkpointFile-method | Simulation checkpoints.
checkpointFile<- | Simulation checkpoints.
checkpointFile<--method | Simulation checkpoints.
checkpointInterval | Simulation checkpoints.
checkpointInterval-method | Simulation checkpoints.
checkpointInterval<- | Simulation checkpoints.
checkpointInterval<--method | Simulation checkpoints.
checkpointLoad | Simulation checkpoints.
checksums | Calculate checksum for a module's data files
checkTimeunit | Convert time units
checkTimeunit-method | Convert time units
citation | Metadata accessors
citation-method | Metadata accessors
classFilter | Filter objects by class
classFilter-method | Filter objects by class
clearCache-method | 'clearCache' for 'simList' objects
completed | Simulation event lists
completed-method | Simulation event lists
completed<- | Simulation event lists
completed<--method | Simulation event lists
conditionalEvents | Simulation event lists
conditionalEvents-method | Simulation event lists
convertTimeunit | Convert time units
Copy-method | Copy for simList class objects
copyModule | Create a copy of an existing module
copyModule-method | Create a copy of an existing module
createsOutput | Define an output object of a module
createsOutput-method | Define an output object of a module
current | Simulation event lists
current-method | Simulation event lists
current<- | Simulation event lists
current<--method | Simulation event lists

## -- D --

dataPath | Specify paths for modules, inputs, outputs, and temporary rasters
dataPath-method | Specify paths for modules, inputs, outputs, and temporary rasters
dday | SpaDES time units
defineModule | Define a new module.
defineModule-method | Define a new module.
defineParameter | Define a parameter used in a module
defineParameter-method | Define a parameter used in a module
depends | Simulation modules and dependencies
depends-method | Simulation modules and dependencies
depends<- | Simulation modules and dependencies
depends<--method | Simulation modules and dependencies
depsEdgeList | Build edge list for module dependency graph
depsEdgeList-method | Build edge list for module dependency graph
depsGraph | Build a module dependency graph
depsGraph-method | Build a module dependency graph
dhour | SpaDES time units
dmonth | SpaDES time units
dmonths | SpaDES time units
dmonths-method | SpaDES time units
dNA | SpaDES time units
dNA-method | SpaDES time units
documentation | Metadata accessors
documentation-method | Metadata accessors
doEvent.checkpoint | Simulation checkpoints.
downloadData | Download module data
downloadData-method | Download module data
downloadModule | Download a module from a SpaDES module GitHub repository
downloadModule-method | Download a module from a SpaDES module GitHub repository
dsecond | SpaDES time units
dweek | SpaDES time units
dweeks | SpaDES time units
dweeks-method | SpaDES time units
dyear | SpaDES time units
dyears | SpaDES time units
dyears-method | SpaDES time units

## -- E --

elapsedTime | Time usage in 'SpaDES'
elapsedTime.simList | Time usage in 'SpaDES'
end | Time usage in 'SpaDES'
end.simList | Time usage in 'SpaDES'
end<- | Time usage in 'SpaDES'
end<--method | Time usage in 'SpaDES'
envir | Simulation environment
envir-method | Simulation environment
envir<- | Simulation environment
envir<--method | Simulation environment
eventDiagram | Simulation event diagram
eventDiagram-method | Simulation event diagram
events | Simulation event lists
events-method | Simulation event lists
events<- | Simulation event lists
events<--method | Simulation event lists
expectsInput | Define an input object that the module expects.
expectsInput-method | Define an input object that the module expects.
experiment | Deprecated functions
experiment2 | Deprecated functions
extractURL | Extract a url from module metadata
extractURL-method | Extract a url from module metadata

## -- F --

fileName | Extract filename (without extension) of a file

## -- G --

G | Get and set global simulation parameters
G-method | Get and set global simulation parameters
G<- | Get and set global simulation parameters
G<--method | Get and set global simulation parameters
getModuleVersion | Find the latest module version from a SpaDES module repository
getModuleVersion-method | Find the latest module version from a SpaDES module repository
globals | Get and set global simulation parameters
globals-method | Get and set global simulation parameters
globals<- | Get and set global simulation parameters
globals<--method | Get and set global simulation parameters

## -- I --

initialize-method | Generate a 'simList' object
inputArgs | Simulation inputs
inputArgs-method | Simulation inputs
inputArgs<- | Simulation inputs
inputArgs<--method | Simulation inputs
inputObjects | Metadata accessors
inputObjects-method | Metadata accessors
inputPath | Specify paths for modules, inputs, outputs, and temporary rasters
inputPath-method | Specify paths for modules, inputs, outputs, and temporary rasters
inputPath<- | Specify paths for modules, inputs, outputs, and temporary rasters
inputPath<--method | Specify paths for modules, inputs, outputs, and temporary rasters
inputs | Simulation inputs
inputs-method | Simulation inputs
inputs<- | Simulation inputs
inputs<--method | Simulation inputs
inSeconds | Convert time units

## -- K --

keepCache-method | 'clearCache' for 'simList' objects

## -- L --

loadFiles | File extensions map
loadFiles-method | File extensions map
loadPackages | Load packages.
loadPackages-method | Load packages.

## -- M --

makeMemoisable.simList | Make 'simList' correctly work with 'memoise'
maxTimeunit | Determine the largest timestep unit in a simulation
maxTimeunit-method | Determine the largest timestep unit in a simulation
memoryUse | Estimate memory used with 'system("ps")'
memoryUseThisSession | Estimate memory used with 'system("ps")'
minTimeunit | Determine the smallest timeunit in a simulation
minTimeunit-method | Determine the smallest timeunit in a simulation
moduleCoverage | Calculate module coverage of unit tests
moduleCoverage-method | Calculate module coverage of unit tests
moduleDefaults | Defaults values used in defineModule
moduleDiagram | Simulation module dependency diagram
moduleDiagram-method | Simulation module dependency diagram
moduleGraph | Build a module dependency graph
moduleGraph-method | Build a module dependency graph
moduleMetadata | Parse and extract module metadata
moduleMetadata-method | Parse and extract module metadata
modulePath | Specify paths for modules, inputs, outputs, and temporary rasters
modulePath-method | Specify paths for modules, inputs, outputs, and temporary rasters
modulePath<- | Specify paths for modules, inputs, outputs, and temporary rasters
modulePath<--method | Specify paths for modules, inputs, outputs, and temporary rasters
modules | Simulation modules and dependencies
modules-method | Simulation modules and dependencies
modules<- | Simulation modules and dependencies
modules<--method | Simulation modules and dependencies
moduleVersion | Parse and extract a module's version
moduleVersion-method | Parse and extract a module's version

## -- N --

newModule | Create new module from template
newModule-method | Create new module from template
newModuleCode | Create new module code file
newModuleCode-method | Create new module code file
newModuleDocumentation | Create new module documentation
newModuleDocumentation-method | Create new module documentation
newModuleTests | Create template testing structures for new modules
newModuleTests-method | Create template testing structures for new modules
newProgressBar | Progress bar
newProject | Create new SpaDES project
newProject-method | Create new SpaDES project
newProjectCode | Create new module code file
newProjectCode-method | Create new module code file

## -- O --

objectDiagram | Simulation object dependency diagram
objectDiagram-method | Simulation object dependency diagram
objectSynonyms | Identify synonyms in a 'simList'
objs | Extract or replace an object from the simulation environment
objs-method | Extract or replace an object from the simulation environment
objs<- | Extract or replace an object from the simulation environment
objs<--method | Extract or replace an object from the simulation environment
objSize.simList | Object size for 'simList'
openModules | Open all modules nested within a base directory
openModules-method | Open all modules nested within a base directory
outputArgs | Simulation outputs
outputArgs-method | Simulation outputs
outputArgs<- | Simulation outputs
outputArgs<--method | Simulation outputs
outputObjectNames | Metadata accessors
outputObjectNames-method | Metadata accessors
outputObjects | Metadata accessors
outputObjects-method | Metadata accessors
outputPath | Specify paths for modules, inputs, outputs, and temporary rasters
outputPath-method | Specify paths for modules, inputs, outputs, and temporary rasters
outputPath<- | Specify paths for modules, inputs, outputs, and temporary rasters
outputPath<--method | Specify paths for modules, inputs, outputs, and temporary rasters
outputs | Simulation outputs
outputs-method | Simulation outputs
outputs<- | Simulation outputs
outputs<--method | Simulation outputs

## -- P --

P | Get and set simulation parameters
packages | Get module or simulation package dependencies
packages-method | Get module or simulation package dependencies
paddedFloatToChar | Convert numeric to character with padding
parameters | Get and set simulation parameters
parameters-method | Get and set simulation parameters
params | Get and set simulation parameters
params-method | Get and set simulation parameters
params<- | Get and set simulation parameters
params<--method | Get and set simulation parameters
paths | Specify paths for modules, inputs, outputs, and temporary rasters
paths-method | Specify paths for modules, inputs, outputs, and temporary rasters
paths<- | Specify paths for modules, inputs, outputs, and temporary rasters
paths<--method | Specify paths for modules, inputs, outputs, and temporary rasters
Plot-method | Plot method for 'simList' objects
POM | Deprecated functions
priority | Event priority
progressInterval | Get and set simulation progress bar details
progressInterval-method | Get and set simulation progress bar details
progressInterval<- | Get and set simulation progress bar details
progressInterval<--method | Get and set simulation progress bar details
progressType | Get and set simulation progress bar details
progressType-method | Get and set simulation progress bar details
progressType<- | Get and set simulation progress bar details
progressType<--method | Get and set simulation progress bar details

## -- R --

rasterPath | Specify paths for modules, inputs, outputs, and temporary rasters
rasterPath-method | Specify paths for modules, inputs, outputs, and temporary rasters
rasterPath<- | Specify paths for modules, inputs, outputs, and temporary rasters
rasterPath<--method | Specify paths for modules, inputs, outputs, and temporary rasters
rasterToMemory | Read raster to memory
rasterToMemory-method | Read raster to memory
remoteFileSize | Determine the size of a remotely hosted file
reqdPkgs | Metadata accessors
reqdPkgs-method | Metadata accessors
restartR | Restart R programmatically
restartSpades | Restart an interrupted simulation
rndstr | Generate random strings
rndstr-method | Generate random strings

## -- S --

simList-accessors-packages | Get module or simulation package dependencies
saveFiles | Save objects using '.saveObjects' in 'params' slot of 'simInit'
saveSimList | Save a whole 'simList' object to disk
scheduleConditionalEvent | Schedule a conditional simulation event
scheduleEvent | Schedule a simulation event
setProgressBar | Progress bar
show-method | Show an Object
showCache-method | 'clearCache' for 'simList' objects
simInit | Initialize a new simulation
simInit-method | Initialize a new simulation
simInitAndExperiment | Deprecated functions
simInitAndSpades | Call 'simInit' and 'spades' together
simList | The 'simList' class
simList-accessors-envir | Simulation environment
simList-accessors-events | Simulation event lists
simList-accessors-inout | Simulation inputs
simList-accessors-metadata | Metadata accessors
simList-accessors-modules | Simulation modules and dependencies
simList-accessors-objects | Extract or replace an object from the simulation environment
simList-accessors-params | Get and set simulation parameters
simList-accessors-paths | Specify paths for modules, inputs, outputs, and temporary rasters
simList-accessors-times | Time usage in 'SpaDES'
simList-class | The 'simList' class
simList_ | The 'simList' class
simList_-class | The 'simList' class
spades | Run a spatial discrete event simulation
spades-method | Run a spatial discrete event simulation
SpaDES.core | Categorized overview of the 'SpaDES.core' package
spadesClasses | Classes defined in SpaDES
spadesOptions | 'SpaDES.core' options
spadesTimes | Convert time units
start | Time usage in 'SpaDES'
start.simList | Time usage in 'SpaDES'
start<- | Time usage in 'SpaDES'
start<--method | Time usage in 'SpaDES'
suppliedElsewhere | Assess whether an object has or will be supplied from elsewhere

## -- T --

time.simList | Time usage in 'SpaDES'
time<- | Time usage in 'SpaDES'
time<--method | Time usage in 'SpaDES'
times | Time usage in 'SpaDES'
times-method | Time usage in 'SpaDES'
times<- | Time usage in 'SpaDES'
times<--method | Time usage in 'SpaDES'
timeunit | Time usage in 'SpaDES'
timeunit-method | Time usage in 'SpaDES'
timeunit<- | Time usage in 'SpaDES'
timeunit<--method | Time usage in 'SpaDES'
timeunits | Time usage in 'SpaDES'
timeunits-method | Time usage in 'SpaDES'

## -- U --

unmakeMemoisable.simList_ | Make 'simList' correctly work with 'memoise'
updateList | Update elements of a named list with elements of a second named list
updateList-method | Update elements of a named list with elements of a second named list

## -- Z --

zipModule | Create a zip archive of a module subdirectory
zipModule-method | Create a zip archive of a module subdirectory
zipSimList | Zip many of the files in a 'simList'

## -- misc --

.addChangedAttr-method | '.addChangedAttr' for 'simList' objects
.addTagsToOutput-method | '.addTagsToOutput' for 'simList' objects
.cacheMessage-method | '.cacheMessage' for 'simList' objects
.checkCacheRepo-method | '.checkCacheRepo' for 'simList' objects
.checkpointSave | Simulation checkpoints.
.fileExtensions | File extensions map
.findSimList | Find 'simList' in a nested list
.first | Event priority
.highest | Event priority
.last | Event priority
.lowest | Event priority
.normal | Event priority
.parseElems-method | .parseElems for simList class objects
.preDigestByClass-method | Pre-digesting method for 'simList'
.prepareOutput-method | '.prepareOutput' for 'simList' objects
.quickCheck | The 'SpaDES.core' variable to switch between quick and robust checking
.robustDigest-method | '.robustDigest' for 'simList' objects
.saveFileExtensions | File extensions map
.spadesTimes | Convert time units
.tagsByClass-method | '.tagsByClass' for 'simList' objects