Releases: PredictiveEcology/SpaDES
Releases · PredictiveEcology/SpaDES
v1.0.3
v1.0.2
- update maintainer's and authors' email addresses
- fix bug in
.parseModule
(#215) - improve dependency graph & module diagram (#216)
simList
accessors now work with.simList
superclass (#217)- fix
%>%
bug in demo (#218) - use
rmarkdown::render
for vignettes (with #219) - improve documentation (including #219)
- reduce sizes of built vignettes (#222)
- add slot
documentation
to module metadata (see?defineModule
) (#224) - fix
inputs
data.frame construction insimInit
(#225) - various other bug fixes
v1.0.1.9006
v1.0.1.9001
fixes #215
v1.01
v1.0.0
- no longer rely on side effects to update objects in global environment; instead uses simulation environments (#185) (not backwards compatible!)
- sample modules rewritten to use simulation enviroments (#185) (not backwards compatible!).
- redefined
simList
class:- new superclass
.simList
contains all previoussimList
slots except.envir
- class
simList
extends.simList
by adding slot.envir
- new class
simList_
extends.simList
by adding slot.list
simList_
can be used internally to save asimList
object,
because saving lists of objects to file is more reliable that saving environments.
- new superclass
fastshp
can be installed from Rforge as a CRAN-like repository (instead of relying ondevtools::install_github
)- software requirements changed: depends R (>=3.2.0)
- moved
data.table
,grid
,raster
, andsp
from Depends to Imports (#207). - add
archivist
,ff
,ffbase
to Imports; addlubridate
to Imports (with #151) - removed
magrittr
from Imports (%>%
is now exported byigraph
) - most external methods/classes imported using
importFrom
; exceptmethods
,graphics
,igraph
, andutils
(because of methods/classes which are not exported) (#201) - simulations now use
timeunit
(instead oftimestep
) specified in metadata (#151) defineModule
requirestimeunit
to be a character string instead of numeric (with #151)- simulation checkpointing fixed (#191, #130)
ls
andls.str
can now be used withsimList
objects to list objects in the simulation environmentobjs
returns a list containing all the objects in the simulation enviroment- new function
splitRaster
to divideRasterLayer
into several tiles - new function
normPath
(extracted fromcheckPath
) to more strictly normalize filepaths without checking that they exist. - new function
classFilter
to filter list of objects by their type - new function
packages
to get all packages required by a simulation - new function
rndstr
to generate random strings - new function
append_attr
to append list items and keep their attributes - improved
loadPackages
- improved
.objectNames
defineParameter
now acceptsmin
,max
, and description values (#172; #175)defineModule
better handlesNA
values (#138)- various
Plot
improvements. - new plotting funcions to produce overview diagrams of simulations (#181; #184):
eventDiagram
shows Gantt chart of event sequencesmoduleDiagram
shows igraph network diagram of dependenciesobjectDiagram
shows sequence diagram of object dependencies between modules
- improved
simList
show and debug methods (#57; #73) - improvements to
loadFiles
:- use
data.table
- allow
package::function
notation in load (#174) - bug fixes
- use
- added "metamodules" which specify module groups (#176)
- improved test coverage (see #139)
- all functions imported explicity (@importFrom). 3 entire packages imported: methods, graphics, igraph (because of classes which are not exported from igraph) (#201)
- removed package dependencies on raster, sp, data.table, grid. Use importFrom instead (#207).
- improved documentation and vignettes
- added cache mechanism to hash function calls to spades (#206)
- fixed progress bar bug (#147)
- prepend copyright info to
LICENSE
andREADME
(with #140) - various other bug fixes
v0.6.2
v0.6.1
Known issues: https://github.com/PredictiveEcology/SpaDES/issues
-
added the Queen as copyright holder (#140)
-
explicitly use GPL-3 (previously used GPL) (#140)
-
modules now require metadata; module code without it will break!
- new module dependency checking and metadata structure (#126)
- explicit declaration of parameters, and object (data) dependencies
- deprecated use of
reloadModuleLater
-
new module directory structure (#125):
moduleName/ |_ moduleName.R # the actual module code file, incl. module metadata |_ moduleName.Rmd # longform documentation and usage info, etc. |_ citation.bib # properly formatted bibtex citation for the module |_ LICENSE # license file describing the allowed usage etc. of the module |_ README # incl. module metadata in addition to version change info, etc.
-
updated package dependencies:
- added
downloader
,dplyr
,fpCompare
,httr
,magrittr
,stringr
toImports
- added
-
updated vignettes and documentation improvements
-
transfered project to
PredictiveEcology/SpaDES
fromachubaty/SpaDES
. -
overhaul to
Plot
function:- no longer needs
*Named
objects. - now handles
SpatialPolygons
objects much faster than defaultplot
:- Uses package
fastshp
.-
The suggested package
fastshp
can be installed with:install_github("s-u/fastshp")
-
- Uses package
- numerous other
Plot
improvements
- no longer needs
-
deprecated all
*Named
functionality- All code will break that uses
*Named
objects
- All code will break that uses
-
new function,
clearPlot
can be used to clean all hidden metadata about a plot -
new function,
randomPolygons
, will create random raster maps (not vector maps) of polygons -
numerous bugfixes