The bernoulli example on this pedantic mode
branch was modified by adding a non used parameter. Just so we test that pedantic mode is running and working.
This is the model code:
data {
int<lower=0> N;
int<lower=0,upper=1> y[N];
}
parameters {
real<lower=0,upper=1> theta;
real sigma;
}
model {
theta ~ beta(1,1); // uniform prior on interval 0,1
y ~ bernoulli(theta);
}
If you remove sigma, all is well. So the pedantic mode warning here is very helpful.
These are related to the pedantic mode branch you are using. Not directly with cmdstanr. I am going to post it to the pedantic mode thread so Ryan doesnt miss them.
The compile error on 8schools occurs because the filename starts with a number. This doesnt play well with cmdstan, which has always been the case and I think is also listed in the cmdstan guide. But the way it errors currently is bad. Will fix that on cmdstan/stanc3 for this release.