-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -315,7 +315,7 @@ install.packages('pak', repos=c(CRAN="https://cran.r-project.org")) | |
To install `abn` run in your R session: | ||
|
||
```R | ||
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/") | ||
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/") | ||
pak::pkg_install("furrer-lab/[email protected]", dependencies=TRUE) | ||
``` | ||
_**Note:** The first command can be skipped on MacOS or Windows._ | ||
|
@@ -329,8 +329,10 @@ _**Note:** The first command can be skipped on MacOS or Windows._ | |
In order to install the `abn` version on CRAN, open an R session and type: | ||
|
||
```R | ||
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/") | ||
pak::pkg_install("abn", dependencies=TRUE) | ||
``` | ||
_**Note:** The first command can be skipped on MacOS or Windows._ | ||
|
||
`abn` has several dependencies that are not available on CRAN. | ||
This is why we rely on [pak](https://pak.r-lib.org/) for the installation and the [Prior to installing](#prior-to-installing) section should be followed through before installing `abn` from CRAN. [^1] | ||
|
@@ -366,7 +368,7 @@ Installing from source is done with the following steps: | |
3. Build and install the local content with dependencies: | ||
|
||
```R | ||
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/") | ||
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/") | ||
pak::local_install(dependencies=TRUE) | ||
``` | ||
_**Note:** The first command can be skipped on MacOS or Windows._ | ||
|