Skip to content

Automatically build and check your R package with GitHub Actions

License

Notifications You must be signed in to change notification settings

ruiheesi/R-actions_check_pkg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R package build and test action

This action is designed to automatically run build and check for R packages on their code with every commit.

Example Usage

To get this action running in your project, add the following config to .github/workflows/Rbuild.yml:

name: R Build and Checks
on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-18.04
    steps:
    - uses: actions/checkout@v1
    - name: R Build and Checks
      uses: Swechhya/[email protected]
      with:
        action: 'all'
        needsBioc: false
        buildSubDirectory: './'

The action property can be any one of:

  • build Only builds the package
  • all Runs build and checks the built package

The needsBioc property can be any one of:

  • true Installs bioconductor and dependencies
  • false Only installs CRAN dependencies

About

Automatically build and check your R package with GitHub Actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 50.7%
  • Dockerfile 49.3%