Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 895 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 895 Bytes

Install CmdStan GitHub Action

This action installs and caches CmdStan, allowing specification of version and number of cores for building. It uses {cmdstanr} to function and hence depends on {cmdstanr} and R. If {cmdstanr} is not installed it will be by the action.

Inputs

cmdstan-version

Optional The version of CmdStan to install. Default "latest".

num-cores

Optional Number of cores to use for building. Default 1.

github-token

Optional The GitHub token used to create an authenticated client. By default will use one automatically created by the github action.

Example usage

- uses: r-lib/actions/setup-r@v2
- name: Install cmdstan
  uses: epinowcast/actions/install-cmdstan@v1
  with:
    cmdstan-version: 'latest'
    num-cores: 2