https://github.com/Swechhya/R-actions
Automatically build and check your R package with GitHub Actions
https://github.com/Swechhya/R-actions
github-actions hacktoberfest
Last synced: 4 months ago
JSON representation
Automatically build and check your R package with GitHub Actions
- Host: GitHub
- URL: https://github.com/Swechhya/R-actions
- Owner: Swechhya
- License: mit
- Created: 2020-03-07T04:24:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T15:48:34.000Z (over 1 year ago)
- Last Synced: 2024-12-03T09:23:28.083Z (4 months ago)
- Topics: github-actions, hacktoberfest
- Language: Shell
- Homepage:
- Size: 25.4 KB
- Stars: 22
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - Swechhya/R-actions - Automatically build and check your R package with GitHub Actions (Shell)
README
# 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:
```yml
name: R Build and Checks
on: [push, pull_request]jobs:
build:
runs-on: ubuntu-latest
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 packageThe needsBioc property can be any one of:
- `true` Installs bioconductor and dependencies
- `false` Only installs CRAN dependencies