diff --git a/DESCRIPTION b/DESCRIPTION index 2566326..401ff5c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: rflsgen Type: Package Title: R Interface to the 'Flsgen' Neutral Landscape Generator with Targets on Landscape Indices -Version: 0.1.1 +Version: 0.1.2 Author: Dimitri Justeau-Allaire, Grégoire Blanchard, Thomas Ibanez, Xavier Lorca, Ghislain Vieilledent, Philippe Birnbaum Maintainer: Dimitri Justeau-Allaire Description: Interface to the 'flsgen' neutral landscape generator . It allows to diff --git a/NEWS.md b/NEWS.md index 946e41d..b414945 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# rflsgen 0.1.2 + +* According to CRAN requirements, configure Geotools to store its temporary EPSG database in R session's temporary directory. + # rflsgen 0.1.1 * Update `DESCRIPTION`: add `URL`, `BugReports`, and specify the required minimum Java version (>= 8) in `SystemRequirements`. diff --git a/R/zzz.R b/R/zzz.R index e18cff5..009919c 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -14,4 +14,5 @@ utils::download.file("https://github.com/dimitri-justeau/flsgen/releases/download/1.0b/flsgen-1.0-SNAPSHOT.jar", destfile = jar_path) } .jpackage(pkgname, lib.loc = libname) + J("java.lang.System")$setProperty("EPSG-HSQL.directory", tempdir()) } diff --git a/cran-comments.md b/cran-comments.md index aed4fee..3e29956 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,4 +1,8 @@ -## Release summary +## rflsgen 0.1.2 + +Configure Geotools to store its temporary EPSG database in R session's temporary directory. + +## rflsgen 0.1.1 This second release fixes the problems reported by the CRAN Team: