This action sets up a project based on a
Posit Connect manifest.json
file.
name: setup.yaml
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-manifest@feature/setup-manifest
This action only works on Linux.
It uses a Docker container to install and run renv to convert the
manifest.json
file to an renv.lock
file.
Then it uses r-lib/actions/setup-r
to install the required version of R.
Finally, it uses r-lib/actions/setup-renv
to install required version of the dependent packages.
This action does not install system dependencies currently. If your project needs Linux system packages, you'll need to install them before calling this action.
The scripts and documentation in this project are released under the MIT License
Contributions are welcome!