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) ``` 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) ``` 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. 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