Rmarkdown nocite не отображает цитаты - PullRequest
0 голосов
/ 05 ноября 2019

Трудно было найти то, что не работает. Я хочу использовать команду nocite для отображения записей биографии, которые я не цитирую в документе, но не могу понять, почему она не работает.

Вот MWE

---
title: "Test"
date: "`r format(Sys.time(), '%d %B, %Y')`"
output: 
  pdf_document:
    number_sections: true
    df_print: kable
    highlight: haddock
    citation_package: biblatex
biblio-style: "authoryear"
bibliography: biblio.bib
link-citations: true
linkcolor: blue
---

One citation [@wuthrich2008modelling]

---
nocite: |
  @wuthrich2009uncertainty
...

# References

и мой biblio.bib содержит следующее

@inproceedings{wuthrich2008modelling,
  title={Modelling the claims development result for solvency purposes},
  author={W{\"u}thrich, Mario V and Merz, Michael},
  booktitle={Casualty Actuarial Society E-Forum},
  pages={542--568},
  year={2008}
}


@article{wuthrich2009uncertainty,
  title={Uncertainty of the claims development result in the chain ladder method},
  author={W{\"u}thrich, Mario V and Merz, Michael and Lysenko, Natalia},
  journal={Scandinavian Actuarial Journal},
  volume={2009},
  number={1},
  pages={63--84},
  year={2009},
  publisher={Taylor \& Francis}
}


@article{merz2007prediction,
  title={Prediction error of the expected claims development result in the chain ladder method},
  author={Merz, Michael and W{\"u}thrich, Mario V},
  journal={Bulletin of Swiss Association of Actuaries},
  volume={1},
  number={2007},
  pages={117--137},
  year={2007}
}


@article{merz2007prediction,
  title={Prediction error of the chain ladder reserving method applied to correlated run-off triangles},
  author={Merz, Michael and W{\"u}thrich, Mario V},
  journal={Annals of Actuarial Science},
  volume={2},
  number={1},
  pages={25--50},
  year={2007},
  publisher={Cambridge University Press}
}

У меня есть это предупреждающее сообщение

Warning message:
LaTeX Warning: Command \showhyphens  has changed.
               Check if current package is valid.
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please rerun LaTeX.
(biblatex)                Page breaks have changed.

Я попытался повторно запустить knitr, но это ничего не изменило.

В идеале я хочу использовать команду '@*' для цитирования всей библиографии.

Но после долгого поиска в Интернете я не могу найти причину. Я использую R version 3.6.1 (2019-07-05) и последнюю версию rmarkdown

...