We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See comments in the example:
library(cmdstanr) data_code <- " data { int N; } " data_file <- write_stan_file(code = data_code, basename = "data.stan") model_code <- " #include data.stan parameters { vector[N] y; } model { y ~ std_normal(); } " model_file <- write_stan_file(code = model_code) mod <- cmdstan_model( stan_file = model_file, include_paths = dirname(data_file), compile = FALSE ) mod$variables() #this fails mod$compile() mod$variables() # this works
The text was updated successfully, but these errors were encountered:
mod$variables
9ad2918
No branches or pull requests
See comments in the example:
The text was updated successfully, but these errors were encountered: