A warning which doesn't show up in the R CMD check results: 1 warning or 0 warnings?

对着背影说爱祢 提交于 2021-02-11 08:11:18

问题


I'm building an R package under Windows 10 with RStudio 1.0.136 and get a warning about qpdf (see How to build qpdf on Windows? for more details about this issue). But and the end of the checks, the number of warnings is shown to be 0. So I wonder if there is one or no warning that has to be solved before I can submit the package to CRAN?


Here is the last part of the checks:

...

  • checking for unstated dependencies in examples ... OK WARNING 'qpdf' is needed for checks on size reduction of PDFs
  • checking installed files from 'inst/doc' ... OK
  • checking files in 'vignettes' ... OK
  • checking examples ... OK
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes in 'inst/doc' ... OK
  • checking re-building of vignette outputs ... OK
  • DONE Status: 1 WARNING

See 'C:/Users/username/Documents/hmi.Rcheck/00check.log' for details.

R CMD check results 0 errors | 0 warnings | 0 notes

R CMD check succeeded


回答1:


Thanks to the comment from @Benjamin, I've uploaded my .tar.gz-file to the win-builder (with this nice upload-tool). The 00check.log-file now says

...

  • checking for unstated dependencies in examples ... OK
  • checking installed files from 'inst/doc' ... OK

...

So the answer to my question is, that the warning about qpdf apparently can be ignored.


The only NOTE I get is (here I've anonymised my name and email-adress) :

* checking CRAN incoming feasibility ... NOTE
Maintainer: 'My Name <blob@domain.com>'

And this seems to be an ignorable issue (checking CRAN incoming feasibility ... NOTE Maintainer).



来源:https://stackoverflow.com/questions/41636047/a-warning-which-doesnt-show-up-in-the-r-cmd-check-results-1-warning-or-0-warni

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