https://github.com/insightsengineering/r-revdepcheck-action
GitHub Action for reverse dependency check of R packages
https://github.com/insightsengineering/r-revdepcheck-action
actions github-actions r
Last synced: about 1 month ago
JSON representation
GitHub Action for reverse dependency check of R packages
- Host: GitHub
- URL: https://github.com/insightsengineering/r-revdepcheck-action
- Owner: insightsengineering
- License: apache-2.0
- Created: 2024-04-11T12:49:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-29T09:44:56.000Z (7 months ago)
- Last Synced: 2025-10-29T11:23:36.538Z (7 months ago)
- Topics: actions, github-actions, r
- Language: R
- Homepage: https://github.com/marketplace/actions/r-revdepcheck-action
- Size: 52.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reverse Dependency Test of R Packages
### Description
Executes `revdepcheck::revdep_check()` to check against potential breaking changes of reverse dependent packages (i.e. packages that depends on your package).
#### Limited number of reverse depenencies
This action is using `.revdeprefs.yaml` configuration file to control which reverse dependencies to check. It should store an array of package references using [`pkgdepends` syntax](https://r-lib.github.io/pkgdepends/reference/pkg_refs.html) including references to GitHub packages. Example:
```yaml
- foo
- bar/baz
- aaa/bbb@ccc
```
If the configuration file is missing (or it's empty) then all reverse dependencies are used.
Please see [`revdepcheck`](https://revdepcheck.r-lib.org/) package documentation for details.
### Action Type
Composite
### Author
Insights Engineering
### Inputs
* `github-token`:
_Description_: Token to clone dependencies from GitHub repositories.
_Required_: `false`
_Default_: `""`
* `repository-path`:
_Description_: Directory where the checked package has been cloned.
_Required_: `false`
_Default_: `.`
* `number-of-workers`:
_Description_: Number of revdepcheck workers
_Required_: `false`
_Default_: `2`
* `timeout`:
_Description_: Max timeout (in seconds) of revdepcheck process.
_Required_: `false`
_Default_: `1200`
* `additional-env-vars`:
_Description_: Additional environment variables.
Example usage:
additional-env-vars: |
ABC=123
XYZ=456
_Required_: `false`
_Default_: `""`
### Outputs
None