From ec0828bb74e944da84abcc4430437e854a7f42fa Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Wed, 4 Mar 2026 00:00:15 +0800 Subject: [PATCH 1/4] prepare cran release --- cran-comments.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cran-comments.md b/cran-comments.md index 20257fd..7af14e4 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,3 +1,5 @@ ## R CMD check results -0 errors | 0 warnings | 0 note +0 errors | 0 warnings | 1 note + +* The maintainer's last name spelling is corrected from "Lv" to "Lyu" to match official identification documents. This is the same maintainer; only the romanization has been updated. From fb2554bfaea99a4895b72baed34e8a2e3da5fc7e Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Wed, 4 Mar 2026 00:00:15 +0800 Subject: [PATCH 2/4] set dep to `TRUE` --- vignettes/GD.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vignettes/GD.Rmd b/vignettes/GD.Rmd index 401774f..c62a751 100644 --- a/vignettes/GD.Rmd +++ b/vignettes/GD.Rmd @@ -91,8 +91,8 @@ The pacakge provides a one-step function for performing optimal discretization a ```{r, eval = FALSE} ## install and library the pacakge -install.packages("GD") -library("GD") +install.packages("GD", dep = TRUE) +library(GD) ## Example 1 ## NDVI: ndvi_40 From 526a517e8b5386bfd81ef5ad1cb0be0542d4ac1c Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Wed, 4 Mar 2026 00:00:15 +0800 Subject: [PATCH 3/4] set dep to `TRUE` --- README.Rmd | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.Rmd b/README.Rmd index a185527..225998d 100644 --- a/README.Rmd +++ b/README.Rmd @@ -57,19 +57,21 @@ URL = {https://doi.org/10.1080/15481603.2020.1760434} - Install from [CRAN](https://CRAN.R-project.org/package=GD) with: ``` r -install.packages("GD") +install.packages("GD", dep = TRUE) ``` - Install development binary version from [R-universe](https://ausgis.r-universe.dev/GD) with: ``` r -install.packages("GD",repos = c("https://ausgis.r-universe.dev", - "https://cloud.r-project.org")) +install.packages("GD", + repos = c("https://ausgis.r-universe.dev", + "https://cloud.r-project.org"), + dep = TRUE) ``` - Install development source version from [GitHub](https://github.com/ausgis/GD) with: ``` r # install.packages("devtools") -devtools::install_github("ausgis/GD",build_vignettes = TRUE) +devtools::install_github("ausgis/GD",build_vignettes = TRUE,dep = TRUE) ``` From 7a0b468c8fa6d560eed17cecb7a7f57384cab24a Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Wed, 4 Mar 2026 00:00:15 +0800 Subject: [PATCH 4/4] set dep to `TRUE` --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc50ba1..b3baaf3 100644 --- a/README.md +++ b/README.md @@ -46,15 +46,17 @@ URL = {https://doi.org/10.1080/15481603.2020.1760434} - Install from [CRAN](https://CRAN.R-project.org/package=GD) with: ``` r -install.packages("GD") +install.packages("GD", dep = TRUE) ``` - Install development binary version from [R-universe](https://ausgis.r-universe.dev/GD) with: ``` r -install.packages("GD",repos = c("https://ausgis.r-universe.dev", - "https://cloud.r-project.org")) +install.packages("GD", + repos = c("https://ausgis.r-universe.dev", + "https://cloud.r-project.org"), + dep = TRUE) ``` - Install development source version from @@ -62,5 +64,5 @@ install.packages("GD",repos = c("https://ausgis.r-universe.dev", ``` r # install.packages("devtools") -devtools::install_github("ausgis/GD",build_vignettes = TRUE) +devtools::install_github("ausgis/GD",build_vignettes = TRUE,dep = TRUE) ```