Setting compile_model_methods=TRUE
causes a staged installation to fail
#904
Labels
bug
Something isn't working
Describe the bug
I am using a staged installation in an R package I am developing (using the machinery of
instantiate
). When I usecmdstanr::cmdstan_model
without the additional argumentcompile_model_methods=TRUE
, thendevtools::install()
works fine. However, if I setcompile_model_methods=TRUE
, it fails. In the below, I replace the code thatinstantiate
uses withcmdstanr
code (which it calls), which seems to isolate the bug tocmdstanr
. I've got a strong feeling this is to do with my m1 Mac.To Reproduce
instantiate::stan_package_create("mypackage")
instantiate::stan_package_configure()
then this returns an error:
Expected behavior
Package should install. (It does so fine when
compile_model_methods=FALSE
.)Operating system
Mas OS Monterrey version 12.2.1
CmdStanR version number
0.7.1
Session info
The text was updated successfully, but these errors were encountered: