Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temporal fix for dependency build ragg #151

Merged
merged 12 commits into from
Sep 6, 2024
6 changes: 6 additions & 0 deletions .github/workflows/Fedora_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- "main"
- "150-fails-to-build-dependency-ragg-when-installing"

env:
JAGS: '4.3.2'
Expand Down Expand Up @@ -78,6 +79,11 @@ jobs:
# library('abn')
# shell: Rscript {0}

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

- name: pak install from GitHub
run: |
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/")
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/Macos_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- "main"
- "150-fails-to-build-dependency-ragg-when-installing"

env:
BUILD_LOC: "./build"
Expand Down Expand Up @@ -68,6 +69,11 @@ jobs:
# pak::pkg_install('abn', dependencies=TRUE)
# library('abn')
# shell: Rscript {0}

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

- name: pak install from GitHub
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/Ubuntu_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- "main"
- "150-fails-to-build-dependency-ragg-when-installing"

env:
BRANCH: ${{ github.head_ref || github.ref_name }}
Expand Down Expand Up @@ -56,6 +57,11 @@ jobs:
# library('abn')
# shell: Rscript {0}

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

- name: pak install from GitHub
run: |
pak::repo_add(INLA = "https://inla.r-inla-download.org/R/stable/")
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/Windows_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- "main"
- "150-fails-to-build-dependency-ragg-when-installing"

env:
BUILD_LOC: "./build"
Expand Down Expand Up @@ -61,6 +62,11 @@ jobs:
# library('abn')
# shell: Rscript {0}

- name: temporal workaround for ragg
run: |
pak::pak("r-lib/ragg@0bc4e8c")
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]
> Due to https://github.com/r-lib/ragg/issues/170 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 a specific version of `ragg` as a temporal fix:
> ```R
> pak::pak("r-lib/ragg@0bc4e8c")
> ```
> 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
Loading