I’m on MacOS: 11.2.1
I’m trying to use a package, Aria (GitHub - mike-lawrence/aria: An R package implementing an idiosyncratic Stan workflow), which uses cmdstanr. I get the following warning when running with Aria but not when I just use cmdstanr, but the developer of the Aria package, Mike, a member here, suggested that the issue was actually with cmdstanr.
Haven’t been able to find anything with this particular error, it does look like putting rebuild_cmdstan() in the cmdstanr function call has helped people, but in my particular case, I can’t put this in the Aria function call.
data = data_for_stan
, code_path = mod_path
, out_path = post_path
, overwrite = T
, block = T
mymodel_obj ← cmdstan_model(mod_path, cpp_options = list(stan_threads = TRUE))
post ← mymodel_obj$sample(data_for_stan, chains = 4, refresh = 1,
output_dir = “.”, validate_csv = FALSE,
Could add actual data and code, but there’s a lot of code, so seeing whether anyone has experienced a similar issue or might know how to fix this particular error.