Note in R CRAN check — * checking top-level files … NOTE File README.md cannot be checked without ‘pandoc’ being installed

*爱你&永不变心* 提交于 2019-12-10 13:54:12

问题


I am checking my R package for CRAN submission, but there is one NOTE that I cannot get rid of. I googled it but seems this NOTE is not common thus I didn't find much useful information. Could any one provide me with a solution? Below is part of the output from R CMD check --as-cran.

* using R version 3.2.0 (2015-04-16)
* using platform: x86_64-apple-darwin13.4.0 (64-bit)
* using session charset: UTF-8
* using option ‘--as-cran’
...
...
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... NOTE
File README.md cannot be checked without ‘pandoc’ being installed.
* checking for left-over files ... OK
* checking index information ... OK

回答1:


You can install pandoc from within R using install.pandoc() from the installr package.



来源:https://stackoverflow.com/questions/32540940/note-in-r-cran-check-checking-top-level-files-note-file-readme-md-canno

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!