Skip to content

Latest commit

 

History

History

setup-manifest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

setup-manifest

RStudio community

This action sets up a project based on a Posit Connect manifest.json file.

Usage

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

How it works

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.

Known issues

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.

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome!