Skip to content

Releases: PredictiveEcology/SpaDES

v1.0.3

11 Sep 02:07
Compare
Choose a tag to compare
  • fully fix inputs data.frame construction in simInit (#225)

v1.0.2

09 Sep 16:30
Compare
Choose a tag to compare
  • 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 in simInit (#225)
  • various other bug fixes

v1.0.1.9006

29 Aug 03:54
Compare
Choose a tag to compare
v1.0.1.9006 Pre-release
Pre-release
  • 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)
  • various other bug fixes

v1.0.1.9001

24 Aug 15:54
Compare
Choose a tag to compare
v1.0.1.9001 Pre-release
Pre-release

fixes #215

v1.01

10 Aug 19:23
Compare
Choose a tag to compare
  • no longer attach the simulation environment (#212)
  • improve documentation
  • bug fixes

v1.0.0

01 Aug 02:22
Compare
Choose a tag to compare
  • 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 previous simList 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 a simList object,
      because saving lists of objects to file is more reliable that saving environments.
  • fastshp can be installed from Rforge as a CRAN-like repository (instead of relying on devtools::install_github)
  • software requirements changed: depends R (>=3.2.0)
  • moved data.table, grid, raster, and sp from Depends to Imports (#207).
  • add archivist, ff, ffbase to Imports; add lubridate to Imports (with #151)
  • removed magrittr from Imports (%>% is now exported by igraph)
  • most external methods/classes imported using importFrom; except methods, graphics, igraph, and utils (because of methods/classes which are not exported) (#201)
  • simulations now use timeunit (instead of timestep) specified in metadata (#151)
  • defineModule requires timeunit to be a character string instead of numeric (with #151)
  • simulation checkpointing fixed (#191, #130)
  • ls and ls.str can now be used with simList objects to list objects in the simulation environment
  • objs returns a list containing all the objects in the simulation enviroment
  • new function splitRaster to divide RasterLayer into several tiles
  • new function normPath (extracted from checkPath) 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 accepts min, max, and description values (#172; #175)
  • defineModule better handles NA values (#138)
  • various Plot improvements.
  • new plotting funcions to produce overview diagrams of simulations (#181; #184):
    • eventDiagram shows Gantt chart of event sequences
    • moduleDiagram shows igraph network diagram of dependencies
    • objectDiagram 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
  • 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 and README (with #140)
  • various other bug fixes

v0.6.2

15 May 16:17
Compare
Choose a tag to compare

This is a minor release update to satisfy CRAN submission requirements.

  • bug fix when saving files

v0.6.1

12 May 20:59
Compare
Choose a tag to compare

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 to Imports
  • updated vignettes and documentation improvements

  • transfered project to PredictiveEcology/SpaDES from achubaty/SpaDES.

  • overhaul to Plot function:

    • no longer needs *Named objects.
    • now handles SpatialPolygons objects much faster than default plot:
      • Uses package fastshp.
        • The suggested package fastshp can be installed with:

          install_github("s-u/fastshp")
          
    • numerous other Plot improvements
  • deprecated all *Named functionality

    • All code will break that uses *Named objects
  • 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