Changelog
Source:NEWS.md
restoptr 1.0.6
CRAN release: 2023-08-18
- Increase time limit in test_solve.R to avoid errors in CRAN auto checks.
restoptr 1.0.5
CRAN release: 2023-03-16
- Fix issue related to a wrong argument name in terra::compareGeom (https://github.com/dimitri-justeau/restoptr/issues/55)
- Fix CITATION file according to CRAN comments
restoptr 1.0.4
CRAN release: 2023-01-30
- Remove dependency to rgdal (see https://r-spatial.org/r/2022/04/12/evolution.html)
- Increase time limit in tests, as sometimes CRAN test servers cannot complete some tests due to insufficient time.
restoptr 1.0.3
CRAN release: 2022-11-12
- Fix unexpected behaviour of
add_available_areas_constraint
when data is vector data. - Add
touches
option inadd_available_areas_constraint
andadd_locked_out_constraint
, useful when data is vector data. - Fix Warning due to
terra
update when usinglevels
. - Add
solution_name_prefix
setting, that allows defining a custom prefix for solutions names. - Fix the
restoptr.Rmd
vignette, there was a bug due to the newterra
version, not allowing to subset layers having not unique name. This was fixed using the newly introducedsolution_name_prefix
setting. - Allow numeric values for
min_restore
andmax_restore
, inadd_restorable_constraint()
when unit is notcells
, as the conversion to integer is done during the conversion to unitless values. - Relies on
restopt-2.0.1
, which brings improved performances for thecompactness
constraint.
restoptr 1.0.2
CRAN release: 2022-10-13
- Fix a few bugs.
- Add a vignette to illustrate the submitted article case study.