Skip to content

Commit

Permalink
docs: update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
aoles committed Oct 18, 2024
1 parent 4efa4f5 commit 0378e2f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ conditions](https://openrouteservice.org/terms-of-service/).

## Installation

The package is not yet available from CRAN, but you can install the
development version directly from GitHub.
The latest release version can be readily obtained from CRAN via a call
to

install.packages("openrouteservice")

For running the current development version from GitHub it is
recommended to use [pak](https://CRAN.R-project.org/package=pak), as it
handles the installation of all the necessary packages and their system
dependencies automatically.

# install.packages("pak")
pak::pak("GIScience/openrouteservice-r")
Expand Down
11 changes: 9 additions & 2 deletions vignettes/openrouteservice.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,15 @@ conditions](https://openrouteservice.org/terms-of-service/).

### Installation

The package is not yet available from CRAN, but you can install the
development version directly from GitHub.
The latest release version can be readily obtained from CRAN via a call to

```{r cran, eval=FALSE}
install.packages("openrouteservice")
```

For running the current development version from GitHub it is recommended to use
[pak](https://CRAN.R-project.org/package=pak), as it handles the installation of
all the necessary packages and their system dependencies automatically.

```{r installation, eval=FALSE}
# install.packages("pak")
Expand Down

0 comments on commit 0378e2f

Please sign in to comment.