Skip to content

Commit c62c2b9

Browse files
committed
Update to Ubuntu 26.04
1 parent 93b0f6d commit c62c2b9

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
- cron: "0 2 * * *"
55
workflow_dispatch:
66

7-
name: Test on Ubuntu 24.04
7+
name: Test on Ubuntu 26.04
88

99
jobs:
1010
R-CMD-check:
11-
runs-on: ubuntu-24.04${{matrix.arch=='arm64' && '-arm' || ''}}
11+
runs-on: ubuntu-26.04${{matrix.arch=='arm64' && '-arm' || ''}}
1212

13-
name: Ubuntu 24.04 ${{ matrix.arch }}
13+
name: Ubuntu 26.04 ${{ matrix.arch }}
1414

1515
strategy:
1616
fail-fast: false

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM ghcr.io/r-devel/ubuntu-24.04:latest
1+
FROM ghcr.io/r-devel/ubuntu-26.04:latest
22

3-
RUN echo "R_PLATFORM_PKGTYPE=linux.binary.noble-$(arch)" >> "$HOME/.Renviron"
3+
RUN echo "R_PLATFORM_PKGTYPE=linux.binary.$(lsb_release -sc)-$(arch)" >> "$HOME/.Renviron"
44

55
# Should reflect envvar set above
66
RUN R -e "print(.Platform$pkgType)"

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@ The format of this variable must be `{os}.binary.{flavor}` for example if we use
1212

1313

1414
```env
15-
R_PLATFORM_PKGTYPE=linux.binary.noble-x86_64
15+
R_PLATFORM_PKGTYPE=linux.binary.resolute-x86_64
1616
```
1717

1818
Then the server binaries need to be hosted on:
1919

2020
```
21-
https://{server}/bin/linux/noble-x86_64/contrib/{r-version}/PACKAGES
21+
https://{server}/bin/linux/resolute-x86_64/contrib/{r-version}/PACKAGES
2222
```
2323

24-
Where `linux` and `noble-x86_64` are taken from `R_PLATFORM_PKGTYPE` and `{r-version}` is the usual `major.minor` R version (without the patch part) e.g. `4.6`.
24+
Where `linux` and `resolute-x86_64` are taken from `R_PLATFORM_PKGTYPE` and `{r-version}` is the usual `major.minor` R version (without the patch part) e.g. `4.6`.
2525

2626
R will show a warning and fall back on building packages from source as usual for packages or repositories where the requested binaries are not available.
2727

2828

2929
## Testing with R-universe
3030

31-
Currently R-universe already hosts such binaries for Ubuntu "noble" 24.04 for both arm64 and x86_64:
31+
Currently R-universe already hosts such binaries for Ubuntu "resolute" 26.04 for both arm64 and x86_64:
3232

33-
- https://cran.r-universe.dev/bin/linux/noble-x86_64/contrib/4.6/PACKAGES.gz
34-
- https://cran.r-universe.dev/bin/linux/noble-arm64/contrib/4.6/PACKAGES.gz
33+
- https://cran.r-universe.dev/bin/linux/resolute-x86_64/contrib/4.6/PACKAGES.gz
34+
- https://cran.r-universe.dev/bin/linux/resolute-arm64/contrib/4.6/PACKAGES.gz
3535

3636
We can use the attached [Dockerfile](Dockerfile) to test that this works as intended by installing the tidyverse and its dependencies. The output logs show that installation is quick and no packages get built from source.
3737

0 commit comments

Comments
 (0)