Lately I get a warning for my vignette on Win R Development Version when doing a cran check.
Files in the 'vignettes' directory but no files in 'inst/doc'
This warning only appears with the Win Dev version. For Mac, AppVeyor and Travis no warning appears.
The problem is, I don't know what the warning wants to tell me. As far as I know I do not have to put files in inst/doc.
Here is the complete warning message:
Files in the 'vignettes' directory but no files in 'inst/doc':
'Figures.d/Rlogo.png', 'Figures.d/distribution.pdf',
'Figures.d/distributionbar.pdf', 'Figures.d/gapsize.pdf',
'Figures.d/imputations.pdf', 'Figures.d/imputations2.pdf',
'Figures.d/sponsorlogo.jpg', 'Figures.d/statsna.png',
'Figures.d/tsairgap.png', 'Introduction.pdf', 'Introduction.tex',
'RJournal.sty'
In my case, I was getting this issue because I had specified my YAML as per @Claudia's answer, but I had specified rmarkdown
as the VignetteBuilder in the DESCRIPTION file. Using VignetteBuilder: knitr
in my DESCRIPTION file fixed the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With