Skip to content

Commit 0378e2f

Browse files
committed
docs: update installation instructions
1 parent 4efa4f5 commit 0378e2f

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,15 @@ conditions](https://openrouteservice.org/terms-of-service/).
4545

4646
## Installation
4747

48-
The package is not yet available from CRAN, but you can install the
49-
development version directly from GitHub.
48+
The latest release version can be readily obtained from CRAN via a call
49+
to
50+
51+
install.packages("openrouteservice")
52+
53+
For running the current development version from GitHub it is
54+
recommended to use [pak](https://CRAN.R-project.org/package=pak), as it
55+
handles the installation of all the necessary packages and their system
56+
dependencies automatically.
5057

5158
# install.packages("pak")
5259
pak::pak("GIScience/openrouteservice-r")

vignettes/openrouteservice.Rmd

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,15 @@ conditions](https://openrouteservice.org/terms-of-service/).
4949

5050
### Installation
5151

52-
The package is not yet available from CRAN, but you can install the
53-
development version directly from GitHub.
52+
The latest release version can be readily obtained from CRAN via a call to
53+
54+
```{r cran, eval=FALSE}
55+
install.packages("openrouteservice")
56+
```
57+
58+
For running the current development version from GitHub it is recommended to use
59+
[pak](https://CRAN.R-project.org/package=pak), as it handles the installation of
60+
all the necessary packages and their system dependencies automatically.
5461

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

0 commit comments

Comments
 (0)