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

1

6

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
Eras answered 12/9, 2015 at 16:11 Comment(6)
Well, do you have pandoc installed?Scanlan
Here you'll find a discussion of how to install pandoc.Plesiosaur
@JoshuaUlrich, thanks. So we can assume that CRAN server also has that installed when checking the R package. Am I correct?Eras
@Nussig. Thanks for the info.Eras
You can also add the README files to your .Rbuildignore file (numerous examples of that all across github)Crypt
@hrbrmstr, thanks. That's good to know.Eras
G
3

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

Gleeful answered 30/9, 2016 at 19:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.