Fix bug described in https://github.com/dimitri-justeau/rflsgen/issues/3
Fix vignette 3 (there was still references to the raster package)
Rely on flsgen-1.2.0, which is now divided into modules. The R package only relies on the flsgen-core-1.2.0, which allowed to remove dependencies to Geotools, resulting in a much lighter JAR that can now be directly packaged into rflsgen (no need to download anymore). This also reduces the time that was needed for I/O operations for exchanging rasters between R and Java, now only data is exchanged.
Add IS_SQUARE target, which allows producing only square patches.
Add ALL_DIFFERENT target, which allows producing patches having all different areas.
Remove dependency to the raster package, and now switch to terra.
Rely on flsgen-1.1.0, which fixes several bug, improve performances, provide two new indices (AREA_MN, mean patch area and NON_FOCAL_PLAND, which is PLAND applied to the non-focal class), implement variable neighborhood for more flexible distance between patches in landscape generation, masking, landscape extraction from existing rasters, and more fine tuning.
Implement helper functions to facilitate the creation of targets.
Add the possibility to use a mask input raster.
Add a function to extract a landscape structure from an existing raster.
Add vignettes: use cases, list and description of all targets, and frequently asked questions.
Create a pkgdown site.
Update DESCRIPTION
: add URL
, BugReports
, and specify the required minimum Java version (>= 8) in SystemRequirements
.
Check system’s Java version on runtime (>= 8), following CRAN’s Writing R Extensions manual.
Initial release of rflgen