Rmarkdown nocite不以pdf格式显示引用

Rmarkdown nocite不以pdf格式显示引用,r,r-markdown,citations,R,R Markdown,Citations,很难找到不起作用的东西。我想使用nosite命令来显示我在文档中没有引用的条目,但我不明白为什么它不起作用 这是一个MWE --- 标题:“测试” 日期:“`r格式(Sys.time(),'%d%B,%Y')`” 输出: pdf\U文件: 节数:真 df_打印:可折叠 推荐理由:黑线鳕 引文包:biblatex 图书风格:“authoryear” 参考书目:biblio.bib 链接引用:正确 链接颜色:蓝色 --- 一次引用[@Wuthrich2008Modeling] --- 夜光石:| @

很难找到不起作用的东西。我想使用
nosite
命令来显示我在文档中没有引用的条目,但我不明白为什么它不起作用

这是一个MWE

---
标题:“测试”
日期:“`r格式(Sys.time(),'%d%B,%Y')`”
输出:
pdf\U文件:
节数:真
df_打印:可折叠
推荐理由:黑线鳕
引文包:biblatex
图书风格:“authoryear”
参考书目:biblio.bib
链接引用:正确
链接颜色:蓝色
---
一次引用[@Wuthrich2008Modeling]
---
夜光石:|
@Wuthrich2009不确定性
...
#参考资料
我的藏书围兜包含以下内容

@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}
}
理想情况下,我希望使用
'@*'
命令引用所有参考书目

但是在网上搜索了很长时间后,我找不到原因。当我使用
keep_tex
跟踪tex文件时,没有出现
\nosite{}
。所以这是有道理的,因为它没有出现在参考书目中。但是为什么呢

我试图将
nosite
放在文档中的不同位置,但没有任何改变

sessionInfo()

R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252    LC_MONETARY=French_France.1252
[4] LC_NUMERIC=C                   LC_TIME=French_France.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] compiler_3.6.1  htmltools_0.4.0 tools_3.6.1     yaml_2.2.0      Rcpp_1.0.3     
 [6] rmarkdown_1.17  knitr_1.26      xfun_0.11       digest_0.6.22   rlang_0.4.1    
[11] evaluate_0.14 

作为一种解决方法,您可以在文档中直接使用
\nosite{wuthrich2009definance}

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

One citation [@wuthrich2008modelling]

\nocite{wuthrich2009uncertainty}

---

...

# References

谢谢,它确实有效。但是你也有和我一样的问题吗?你对此有何解释?同时,我将使用您的解决方案。我将其标记为有用,如果没有人能够提供解释,我将接受它来提供解释:通过使用
引文包:biblatex
,可以强制R标记跳过pandoc citeproc,否则它将处理引文和
nocite
字段。在这种情况下,nocite信息丢失,正常的cites按预期由biblatex处理。也许值得在@tarleb上提出一个功能请求谢谢你的解释!这是有道理的。这应该是很新的,因为我找到的所有例子都没有提到它。我会考虑做一个请求,从来没有在github上做过!