[R-pkg-devel] Static PDF Vignette

Charith Karunarathna ch@r|th_k@run@r@thn@ @end|ng |rom @|u@c@
Fri Dec 6 03:13:47 CET 2019


Hi,


I am trying to add a PDF file (perfectphyloR.pdf) as the vignette of my R package (perfectphyloR). When I check my package using win-builder, I am getting the following warning message:


* checking re-building of vignette outputs ... [2s] WARNING
Error in re-building vignettes:
  ...
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "perfectphyloR.tex" --max-iterations=20 -I "D:/RCompile/recent/R-3.5.3/share/texmf/tex/latex" -I "D:/RCompile/recent/R-3.5.3/share/texmf/bibtex/bst"' had status 1
Error: running 'texi2dvi' on 'perfectphyloR.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ./perfectphyloR.pdf): reading image file fail
ed
 ==> Fatal error occurred, no output PDF file produced!
Execution halted


Could someone help me fix this issue?


Thank you!


Charith.

________________________________
From: I�aki Ucar <iucar using fedoraproject.org>
Sent: Wednesday, December 4, 2019 2:46:25 PM
To: Charith Karunarathna
Cc: r-package-devel using r-project.org
Subject: Re: [R-pkg-devel] Static PDF Vignette

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

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list