Closed wlandau closed 1 year ago
Trying to write a .github/workflows/build-internal.yaml
script to create a tarball of the package which always installs CmdStan internally. Not working yet.
I think I fixed it by adding a special install-internal.zip
to each release. The file contains a tarball that always uses the "internal" installation method, regardless of the CMDSTAN_INSTALL
environment variable.
In my company's centrally managed R environment, it is not possible to set environment variables at installation, and they are reluctant to set new niche envvars for everyone. So there needs to be a way to have
instantiate
install with CmdStan automatically without any other input, but also disable this on CRAN. Tricky.