Incomplete final line found

Dear users,

What does the following stans compilation warning means?

In readLines(file, warn = TRUE) :
  incomplete final line found on '~\myModel-fit.stan'

And How do I get rid of this error? Does this error affect the compilation output?

Thanks

It does not affect the compilation output or sampling. Just be sure to put a blank line (no spaces, comments, etc.) after the final }.

1 Like