Published September 13, 2019
| Version v0.2.6
Software
Open
PredictiveEcology/SpaDES.core: v0.2.6
Authors/Creators
- 1. Canadian Forest Service, Government of Canada
- 2. H2O.ai
Description
Known issues: https://github.com/PredictiveEcology/SpaDES.core/issues
version 0.2.6 dependencies- R 3.5.0 is the minimum version required for
SpaDES.core. Too many dependency packages are not maintaining their backwards compatibility. - added
backportsto Imports for R-oldrel support - removed
googledrivedependency (this functionality moved toreproducible)
- improved documentation for
P,params, andparameters, thanks to Louis-Etienne Robert.
- update
objSize.simListmethod with 2 new arguments fromreproduciblepackage .robustDigestmethod forsimListclass objects now does only includes parameters that are listed within the module metadata, ifCacheor.robustDigestis called within a module. This means that changes to parameter values in "other" modules will not affect the Caching of "the current" module.- New function
outputObjectNameswill extract just the object names of alloutputObjectsacross modules - New function
restartSpadesand its associatedoptions(spades.recoveryMode = 1), the new default, which is still experimental. Its purpose is to be able to restart a simulation in the case of an error or interruption. - Now gives better errors if modules are missing main .R file or if they are missing entirely
- More silent tests
modis now an active binding tosim[[currentModule(sim)]]$.objects(move fromsim[[currentModule(sim)]]) and its parent environment isemptyenv(). This should cause no changes to users who usemod$..., but it will cause a change if user was calling objects directly viasim[[currentModule(sim)]]$.... This change is to separate the function enclosing environments and object enclosing environments, which should be different.sim@completedis now an environment instead of a list. Of the three event queues, this one can become the largest. Thelistwould get increasingly slow as the number of completed events increased. There should be no user visible changes when usingcompleted(sim)
spades.debug is now set to 1
spades.recoveryMode is new and set to 1 (i.e., the current event will be kept at its initial state)
- Internal bugs during
simInitespecially in some weird cases ofchildModules. - packages listed in
reqdPkgsnot being loaded when only listed in child modules. Fixed in5cd79ac95bc8d190e954313f125928458b0108d2. - fixed issue with saving simulation outputs at simulation end time.
Files
PredictiveEcology/SpaDES.core-v0.2.6.zip
Files
(4.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:37c54638ae694694b23340fbe54e54b2
|
4.0 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/PredictiveEcology/SpaDES.core/tree/v0.2.6 (URL)