Hi Mitzi,
Thanks for looking into this. I didn’t make any changes to the branch when I tried running build.py. Your correction seems to have fixed the above mentioned error. But something is still not working.
After installing a handful of additional R packages (Bayesplot
, kableExtra
, lubridate
) – btw, it would be good to list all the dependencies or have them all checked upfront --, I now run into a segmentation fault.
*** caught segfault ***
address 0x10afbfffc, cause 'memory not mapped'
Traceback:
1: paste(x, ..., collapse = "\n")
2: one_string((knit_hooks$get("document"))(res))
3: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
4: rmarkdown::render(main, output_format, ..., clean = clean, envir = envir)
5: render_cur_session(files, main, config, output_format, clean, envir, ...)
6: bookdown::render_book("index.Rmd", output_format = "bookdown::gitbook")
An irrecoverable exception occurred. R is aborting now ...
Command Rscript -e "bookdown::render_book('index.Rmd', output_format='bookdown::gitbook')" failed
Traceback (most recent call last):
File "./build.py", line 113, in <module>
main()
File "./build.py", line 109, in main
make_docs(docspath, stan_version, doc, formats)
File "./build.py", line 54, in make_docs
shexec(command)
File "./build.py", line 35, in shexec
raise Exception(returncode)
Exception: -11
I’ll see if I can debug it but this isn’t code I’m super familiar with. Are we running Stan code when compiling the manual? And if so, which version of Stan has the compilation been tested on?
EDIT: Still didn’t find the solution, but at least the html files renders, so I can write and check changes.