Published July 10, 2018
| Version v0.2.0
Software
Open
PredictiveEcology/SpaDES.core: v0.2.0
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.0 new features- module metadata now in named lists inside
depends(sim) - new debugging -- if debug is not
FALSE, then any error will trigger abrowser()call inside the event function. User can continue (c) or quit (Q) as per normal.cwill trigger a reparse and events will continue as scheduled. introduction of code checking for modules, currently turned on or off by an option
spades.moduleCodeChecks, which isTRUEby default. Code checking includes various types:- use
codetoolsto check for various code problems - detects conflicts with known common functions (
raster::level,raster::scale,quickPlot::Plot) - use
checkCodeEnvon every function inside a module - checking for
sim$xxxoccurrences in modules, comparing tooutputObjectsin metadata if used in assignment (i.e., left hand side of assign operator), or comparing toinputObjectsif used on the right hand side - check that all objects declared in
inputObjectshave default values assigned in the.inputObjectsfunction - messages colour coded, and separated by file with absolute path explicit
- use
option
spades.debugset toTRUEby default, instead ofFALSE. This is better for new users.moduleMetadataargument order changed, sosimis first, more consistent with all othersimListaccessors.downloadDatahas changed dramatically, now it is a wrapper aroundreproducible::prepInputswhich does more checking.extractURLwill extract the sourceURL from metadata, given an object name.makeMemoiseableandunmakeMemoisable, new methods, each the inverse of the other, to deal with imperfect memoised returns under some cases ofsimList.- new option,
spades.keepCompleted,TRUEby default, which can be useful for dramatically speeding up the DES when there are many (>10,000) events.
- remove
fileExt-- usetools::file_extinstead
- fix tests based on
data.tablechanges (@mattdowle, #64). - re-export
startandend. newModuletemplate modified slightly based on workshop feedback.setPathsnow only sets the directories that are passed into it.all.equal.simListmethod strips a small number of attributes that are used internally that create false failures.- speed enhancements.
- other minor bug fixes.
- add package imports
tools,pryr. - removed package imports
rgeos,RCurlandgoogledrive.
Files
PredictiveEcology/SpaDES.core-v0.2.0.zip
Files
(3.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:77f6320710412d9474672cbbff101170
|
3.7 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/PredictiveEcology/SpaDES.core/tree/v0.2.0 (URL)