tests/rmd/two-bibs.Rmd
raw| 1 | --- |
| 2 | title: "Two bibliography entries" |
| 3 | output: rmarkdown::html_vignette |
| 4 | bibliography: |
| 5 | - one.bib |
| 6 | - two.bib |
| 7 | --- |
| 8 | |
| 9 | This document should render successfully with `rmarkdown::render('two-bibs.Rmd', intermediates_dir = tempdir())`: https://github.com/rstudio/rmarkdown/issues/1358 |
| 10 | |
| 11 | ```{r} |
| 12 | knitr::write_bib('base', 'one.bib') |
| 13 | knitr::write_bib('rmarkdown', 'two.bib') |
| 14 | ``` |
| 15 | |
| 16 | @R-base and @R-rmarkdown |