- Fix bug due to “java.parameters” initialization in zzz.R, which did not allow to set custom memory limits for the JVM. rflsgen now does not assume nor do anything about this. Either the user set java.parameters before loading the package, either rJava default option is used.
CRAN release: 2022-10-11
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.
CRAN release: 2022-02-23
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.
CRAN release: 2021-11-30
- According to CRAN requirements, configure Geotools to store its temporary EPSG database in R session’s temporary directory.
CRAN release: 2021-11-25
BugReports, and specify the required minimum Java version (>= 8) in
Check system’s Java version on runtime (>= 8), following CRAN’s Writing R Extensions manual.