NEWS (original) (raw)
- cleanup test files left behind in
distanceFromEachPoint;
Dependency changes
- drop support for R 4.2;
Enhancements
- improved
spreadfor use withSpatRasters(#93); - improved speed of
.pointDistance(#97); - fix a failing test when using
testthat > 3.2.3(#98); - documentation improvements;
Bug fixes
- fixed issue with
rasterizeReduced(); - updates to deal with changes to RNG in
dqrng(#96;@rstub). if backwards compatibility is needed, setdqrng::dqRNGkind("Xoroshiro128+")before runningspreadto ensure numerical reproducibility with previous versions;
Enhancements
- minor documentation updates
Dependency changes
- drop support for R 4.1 due to changes in dependency packages
Bug fixes
- none
Enhancements
randomPolygons()works withsfobjects;- use numeric vector in
crwto accommodate downstream dependency changes;
Dependency changes
- requires
reproducible (>= 2.0.9)
Bug fixes
- fixed
splitRaster()tests that broke due to changes inreproducible::Filenames()(#91)
Enhancements
- improved documentation
- address new features of
quickPlot - minor modifications to
crwto allow downstream packages that usematrixclasses instead ofsforSpatVectorclasses for “agents” - address timing issue on CRAN machines
Dependency changes
- removed Suggests dependencies
CircStats,dplyr,purrr,DBI,RColorBrewer,googledrive,snow
Bug fixes
- none
Enhancements
- wholesale transition to
terrafromrasterandsp. Some functionality is available forsf, but this will not be complete. splitRaster()uses".tif"as the default raster file type- most example plotting uses
terra::plotdirectly, but in a few cases,quickPlot::Plotis used as it is much better (e.g.,spread2(plot.it = TRUE))
Dependency changes
- drop support for R 4.0 (dependency package
reproduciblesupports R >= 4.1); - now has only 7 Imports and Depends, which becomes 15 recursive dependencies (down from 40)
- add
terrato Imports - removed dependencies
magrittr,rgeos,rlang,Require,graphics - added to
Suggests:withr - moved to Suggests:
quickPlot,fastmatch,raster,sp,sf,CircStats - added
snowto Suggests as it’s used for parallelrasteroperations; - added
toolsto Suggests forfile.ext()
Bugfixes
- all open issues dealt with
- fixes related to migration to
terra - other minor bug fixes
Dependency changes
- none
Enhancements
terracompatibility addedneutralLandscapeMapexpanded to use moreNLMRfunctions
Bug Fixes
- suppress additional spurious warnings
Enhancements
- a new function,
neutralLandscapeMap, replaces the defunctgaussMapin creating a neutral landscape map using the midpoint displacement algorithm available inNLMR::nlm_mpd.
This is a major SpaDES.tools update causing breaking changes due to multiple CRAN packages no longer available as of R version 4.2 released April 2022.
Dependency changes
- Removed dependencies
ffbaseandffand deprecated use oflowMemoryargument inspread(ffbasewas removed from CRAN April 2022). - Removed dependency
RandomFieldswhich is no longer maintained. We had to drop support for random landscape generation viagaussMap(); but see theNLMRpackage for tools to create random neutral landscapes.
Enhancements
mergeRaster()can deal with rasters with different origins extents (i.e., that were not produced usingsplitRaster())
Bug Fixes
spread2was unable to usemaxSizewhenstartwas the output of a previousspread2call to whichmaxSizehad not been supplied. This has now been fixed.
Dependency changes
- drop support for R 3.6 (#65)
Enhancements
- none
Bug Fixes
- fix error in
spread2()causing failures on R-devel
Dependency changes
Requiremoved toSuggests, because it’s only used in examples.
Enhancements
- none
Bug Fixes
- fixed misc CRAN check issues with Suggested packages
- fixed bug in
splitRaster()(#62; @anbm-dk)
Dependency changes
- Dropped support for R 3.5 due to changes in dependency packages. R versions 3.6 and higher are supported.
Enhancements
distanceFromEachPoint:clargument can now accept a numeric scalar indicating how many cores to use with anmclapplyinternallydistanceFromEachPoint: minor speed improvementsspread3has new arguments (sdDist,dispersalKernel)- improved speed for
spreadunder most conditions, especially larger events, possibly up to 2x. splitRaster()can now specify file extension, instead of defaulting to.grd- several under the hood improvements for stability, speed
Bug Fixes
distanceFromEachPointbugfixes under some cases (some values oftoCells,angleswould cause errors)
Dependency changes
- none
Bug Fixes
spreadwithallowOverlap = TRUEwould give wrong results. Fixed.- update a test to deal with forthcoming
rasterchanges.
Enhancements
- none
We have identified a non-trivial bug in spread when using allowOverlap = TRUE. Until we can patch this bug, using this argument value will generate an error. We are currently working on a fix, which may take some time.
Dependency changes
- removed orphaned package
bit; its reverse dependencies,ffandffbase, moved to Suggests
Bugfixes
- none
Enhancements
spreadsped up forallowOverlap = TRUE- New values for
returnIndicesarg inspread, allowing fornumeric. New option,2allows for the fastest return possible, onlypixelIndices
Dependency changes
- none
Bugfixes
- fix issues with failing tests on CRAN
Enhancements
- none
Dependency changes
- Requires R >= 3.5
- Added
animationsince it is used in thespread3example. - Added
backportsfor R-oldrel support - Removed
profvisandmicrobenchmarkfrom Suggests: all benchmarking is removed from automated tests
Bugfixes
- minor Bug Fixes
Enhancements
spread2speed enhancements
Dependency changes
- Added
animation,fasterize, andsfto suggests (used in examples)
Bugfixes
- minor bug fixes
Enhancements
spread2now takes a numeric forallowOverlap, to allow for 1 more scenario of overlapping, namely, allow between event overlapping, and within event overlapping only if the overlap occurs in the same iteration, otherwise, do not allow overlap within event.- new function
spread3for simulating e.g., insect spread pointDistanceis now exported
Dependency changes
RandomFieldsmoved to Suggests to prevent clashes withdata.tablemultithreading
Enhancements
randomPolygonnow hasareaargument, instead ofhectares(deprecated), and it now succeeds for more cases.mergeRasternow accepts a function passed by the user whenmosaicis triggered (#55, @tati-micheletti)initiateAgentsexample fixed to work with newerrasterpackage versions (@rhijmans)
New features
splitRasterdefaults to in-memory rasters when no file path specified (#47, @ianmseddy).
Removed features
- Previously deprecated functions removed to fix CRAN check WARNINGs. These are now located in the
reproduciblepackage. compilerpackage no longer used; is automatic in R >= 3.5
New features
- new arguments added to
gaussMap(#20, @ianmseddy). - move
fastMasktoreproduciblepackage
Deprecated functions
fastCrop():raster::cropis faster thanvelox::cropunder many tests.fastMask(): moved to thereproduciblepackage.
Bug Fixes
- minor bug fixes (
spread2) - minor test fixes.
Dependency changes
dplyrandmgcvadded to Suggests because they are used in tests.- add more detailed information to package Description, per CRAN.
- add
randomPolygonfunction for single random polygon. - speed improvements with
spread2whenasymmetryused. - minor bug fixes.
- A new package, which takes all auxiliary modelling functions out of the
SpaDESpackage:- see
?SpaDES.tools::SpaDES.toolsfor an overview of included functionality.
- see