Skip to content

jahnen/bumpercar

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 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


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published