5 Troubleshooting
This chapter describes common errors you may run into, and how to fix them.
5.1 Error: Failed to build the bibliography via biber
This can happen if you’ve had a failed build, perhaps in relation to RStudio shutting down abruptly.
Try doing this:
- type
make clean-knits
in the terminal tab (or runfile.remove(list.files(pattern = "*.(log|mtc|maf|aux|bbl|blg|xml)"))
in the R console) to clean up files generated by LaTeX during a build - restart your computer
If this does not solve the problem, try using the natbib LaTeX package instead of biblatex for handling references. To do this, go to index.Rmd and
- set
use-biblatex: false
anduse-natbib: true
- set
citation_package: natbib
under
output:
bookdown::pdf_book:
citation_package: natbib