samc()function parameters. This is a breaking change that will make maintaining the package and adding new features a simpler process going forward, and that will hopefully only be a minor inconvenience for users. The warning message on package load introduced in v1.4.0 has been updated to reflect the new changes.
0for when i==j in the vectors. This fixes an issue associated with shifted indices in
cond_passage(samc, dest). It also technically breaks backwards compatibility for when
cond_passage(samc, origin, dest). Previously,
cond_passage(samc, origin, dest)would return
dest, but this decision was arbitrary. The
cond_passage()documentation explains why.
dispersal(samc, origin/occ)function via the RcppThread package. See the Parallel Computing vignette for details.
samc(). CRS objects have a hidden field that can vary depending on system and software versions, and previous versions of the check would not account for this. This would to lead to false positives where perfectly compatible rasters were reported as incompatible. The corresponding error message was also fixed to report the correct issue; the code was initially copied and modified from another input check, but the error message wasn’t updated in the process.
absorptionparameter in samc() is treated as the total absorption (consistent with previous behavior). After creation of the samc-class object, additional absorbing states can be attached to the samc-class object. See the samc-class documentation and the new Multiple Absorption tutorial for more details.