[R-pkg-devel] Static PDF Vignette

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Wed Dec 4 23:46:25 CET 2019


On Wed, 4 Dec 2019 at 22:54, Charith Karunarathna
<charith_karunarathna using sfu.ca> wrote:
>
> Hi,
>
> I followed these instructions, (https://www.markvanderloo.eu/yaRb/2019/01/11/add-a-static-pdf-vignette-to-an-r-package/), to add a pdf (perfectphyloR.pdf) as the vignette of my package (perfectphyloR). However, I am getting the following Warning message and  NOTE from the win-builder:
>
> Warning messge:
>
> * checking files in 'vignettes' ... WARNING
> Files in the 'vignettes' directory but no files in 'inst/doc':
>   'perfectphyloR.pdf'
>
> NOTE:
>
> * checking for hidden files and directories ... NOTE
> Found the following hidden files and directories:
>   vignettes/.Rnw
> These were most likely included in error. See section 'Package
> structure' in the 'Writing R Extensions' manual.
>
> CRAN-pack does not know about
>   vignettes/.Rnw
>
> I am having a hardship to fix those two. Could someone direct me to fix those issue?

The post doesn't mean ".Rnw" literally. Give it a filename instead of
just .Rnw: perfectphyloR.Rnw seems appropriate.

Iñaki



More information about the R-package-devel mailing list