Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SpatLyu committed Aug 29, 2024
1 parent b252b26 commit b4168c1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 28 deletions.
22 changes: 9 additions & 13 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@ The goal of **geocn** is to provide various commonly used spatial data related t

## Installation

### Install from source
- Install development binary version from [r-universe](https://ausgis.r-universe.dev/geocn) with:

You can install the development version of *geocn* from [*github*](https://github.com/SpatLyu/geocn):
``` r
install.packages("geocn",
repos = c("https://spatlyu.r-universe.dev",
"https://cran.rstudio.com/"),
dep = TRUE)
```

- Install development source version from [GitHub](https://github.com/ausgis/geocn) with:

``` r
# install.packages("devtools")
Expand All @@ -39,17 +46,6 @@ devtools::install_github("SpatLyu/geocn",
dep = T)
```

### Install the binary version

You can also install the binary version of **geocn** from [r-universe](https://spatlyu.r-universe.dev/geocn):

``` r
install.packages("geocn",
repos = c("https://spatlyu.r-universe.dev",
"https://cran.rstudio.com/"),
dep = TRUE)
```

## Example

### Drawing a Map of China Using `ggplot2`
Expand Down
26 changes: 11 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ related to Chinese regions in the R programming environment.

## Installation

### Install from source
- Install development binary version from
[r-universe](https://ausgis.r-universe.dev/geocn) with:

You can install the development version of *geocn* from
[*github*](https://github.com/SpatLyu/geocn):
``` r
install.packages("geocn",
repos = c("https://spatlyu.r-universe.dev",
"https://cran.rstudio.com/"),
dep = TRUE)
```

- Install development source version from
[GitHub](https://github.com/ausgis/geocn) with:

``` r
# install.packages("devtools")
Expand All @@ -27,18 +35,6 @@ devtools::install_github("SpatLyu/geocn",
dep = T)
```

### Install the binary version

You can also install the binary version of **geocn** from
[r-universe](https://spatlyu.r-universe.dev/geocn):

``` r
install.packages("geocn",
repos = c("https://spatlyu.r-universe.dev",
"https://cran.rstudio.com/"),
dep = TRUE)
```

## Example

### Drawing a Map of China Using `ggplot2`
Expand Down

0 comments on commit b4168c1

Please sign in to comment.