- Increase time limit in test_solve.R to avoid errors in CRAN auto checks.
- Fix issue related to a wrong argument name in terra::compareGeom (#55)
- Fix CITATION file according to CRAN comments
- 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.
- 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.
- Fix a few bugs.
- Add a vignette to illustrate the submitted article case study.
- Update doc to fix a minor issue with r-oldrel-windows-ix86+x86_64
- Remove time limit in some tests to pass CRAN tests
- First stable release of the package.
- Initial work on developing package.