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.
Optional The version of CmdStan to install. Default "latest"
.
Optional Number of cores to use for building. Default 1
.
Optional The GitHub token used to create an authenticated client. By default will use one automatically created by the github action.
- uses: r-lib/actions/setup-r@v2
- name: Install cmdstan
uses: epinowcast/actions/install-cmdstan@v1
with:
cmdstan-version: 'latest'
num-cores: 2