Skip to content

Fedora 38, R 4.5

Fedora 38, R 4.5 #300

name: Fedora 38, R 4.5
on:
workflow_dispatch:
schedule:
- cron: '03 17 * * *'
jobs:
update:
runs-on: ubuntu-latest
container: ghcr.io/r-hub/containers/gcc13:latest
steps:
- name: Check Distro and R version
run: |
#
readRenviron("/etc/os-release")
if (Sys.getenv("ID") != "fedora") stop("Not Fedora")
if (Sys.getenv("VERSION_ID") != "38") stop("Not Fedora 38")
if (getRversion() < "4.5.0" || getRversion() >= "4.6.0") {
stop("Not R 4.5.x")
}
shell: Rscript {0}
- uses: actions/checkout@v3
- uses: r-hub/repos/actions/update-repo@main
with:
directory: fedora-38/4.5
token: ${{ secrets.CRANATGH_GITHUB_TOKEN }}