Can't install cmdstanr from GitHub with devtools::install_github

Hi there in case anybody else is having this problem, I opened this GH Issue:

Basically am unable to install cmdstanr using devtools::install_github("stan-dev/cmdstanr") on a fresh machine image because maybe it tries to compile and run a model upon installation without first checking CmdStan installation / installing / setting the path.

The install using install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos")) still works.

1 Like

Thanks for the report!

Just posting here for the record that the bug was fixed by @jonah in https://github.com/stan-dev/cmdstanr/pull/275

2 Likes