Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,23 @@ 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)
```
4 changes: 3 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions vignettes/GD.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down