Skip to content

Update R Packages

Actions
Update R package versions in DESCRIPTION file using CRAN latest versions
v1.1.0
Latest
Star (4)

🚗 bumpercar

Update your R package dependencies with ease.

bumpercar is a GitHub Action that automatically updates the versions of packages listed in the DESCRIPTION file of your R package repository. It creates a pull request with the updated dependencies based on the latest compatible versions from CRAN.


📦 Usage

Create a new workflow file to your R package repository: .github/workflows/bumpercar.yml

name: Update R DESCRIPTION dependencies

on:
  schedule:
    - cron: "0 2 * * 1"  # Every Monday at 2am UTC
  workflow_dispatch:

jobs:
  bumpercar:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Run bumpercar
        uses: jahnen/[email protected]
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}

✨ Features

  • Parses your DESCRIPTION file (Imports, Depends, Suggests)
  • Looks up the latest versions of R packages from CRAN
  • Preserves compatibility by only bumping minor/patch versions
  • Run R CMD check with updated DESCRIPTION:
    • If R CMD check passed:
      • Creates a new Git branch and opens a pull request
    • If R CMD check failed:
      • Create a new issue

스크린샷 2025-05-20 오후 4 14 44

스크린샷 2025-05-20 오후 4 14 23


Update R Packages is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Update R package versions in DESCRIPTION file using CRAN latest versions
v1.1.0
Latest

Update R Packages is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.