Skip to content

Commit

Permalink
Revert "removing temp. fix for ragg" and adapt
Browse files Browse the repository at this point in the history
This reverts commit 411e45b.
  • Loading branch information
j-i-l committed Sep 11, 2024
1 parent 411e45b commit db36256
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/Fedora_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ jobs:
# library('abn')
# shell: Rscript {0}

- name: temporal workaround for ragg
run: |
pak::pak("r-lib/ragg")
shell: Rscript {0}

- name: pak install from GitHub
run: |
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/")
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/Macos_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ jobs:
# pak::pkg_install('abn', dependencies=TRUE)
# library('abn')
# shell: Rscript {0}

- name: temporal workaround for ragg
run: |
pak::pak("r-lib/ragg")
shell: Rscript {0}

- name: pak install from GitHub
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/Ubuntu_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
# library('abn')
# shell: Rscript {0}

- name: temporal workaround for ragg
run: |
pak::pak("r-lib/ragg")
shell: Rscript {0}

- name: pak install from GitHub
run: |
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/")
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/Windows_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:
# library('abn')
# shell: Rscript {0}

- name: temporal workaround for ragg
run: |
pak::pak("r-lib/ragg")
shell: Rscript {0}

- name: pak install from GitHub
run: |
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/")
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,16 @@ Officially supported is R version >= 4.4
## Installing from GitHub (recommended)
> [!WARNING]
> Until verion of `1.3.3` is released (see https://github.com/r-lib/ragg/issues/174) the R package [`ragg`](https://github.com/r-lib/ragg) does not build correctly.
> Since `abn` depends on `ragg` the installation of `abn` might fail.
> Therefore, we recommend installing the developer versin of `ragg` as a temporal fix:
> ```R
> pak::pak("r-lib/ragg")
> ```
> Simply run this command before installing `abn` (see below) and you should be good to go.
From GitHub you can install any version and/or state of the `abn` repository you want.
We recommend to not directly install `main`, but to a specific version.
Head over to our [version list](https://github.com/furrer-lab/abn/releases) to see which one is the latest version.
Expand Down

0 comments on commit db36256

Please sign in to comment.