[R-pkg-devel] Warning Message on Vignettes

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sun Jun 30 13:19:54 CEST 2019


On 29/06/2019 7:14 p.m., Charith Karunarathna wrote:
> Hi,
> 
> I am getting following two warnings when I submit my R package (perfectphyloR) to CRAN.
> 
> Warning 1: * checking files in 'vignettes' ... WARNING
>               Files in the 'vignettes' directory but no files in 'inst/doc':
>               'perfectphyloR.html', 'perfectphyloR.html.asis'
> 
> Warning 2: * checking package vignettes in 'inst/doc' ... WARNING
>               dir.exists(dir) is not TRUE
>               Package vignette without corresponding single PDF/HTML:
>               'perfectphyloR.html.asis'
> 
> I want to make my vignette as a static html vignette (not the PDF). Therefore, I followed this documentation, https://cran.r-project.org/web/packages/R.rsp/vignettes/R_packages-Static_PDF_and_HTML_vignettes.pdf
> 
> After including my html vignette (perfectphyloR.html) into the directory 'vignette', I created a file called "perfectphyloR.html.asis" and that file includes following lines:
> 
> %\VignetteIndexEntry{R packages: perfectphyloR}
> %\VignetteEngine{R.rsp::asis}
> %\VignetteKeyword{HTML}
> %\VignetteKeyword{vignette}
> %\VignetteKeyword{package}
> 
> So, I am wondering something is wrong with my .asis file or I am doing any other mistake. Could you help me fix this issue?

Did you also make the necessary changes in the DESCRIPTION file to tell 
R that R.rsp is handling your vignettes?

Duncan Murdoch



More information about the R-package-devel mailing list