[R-pkg-devel] Pretest failed - pandoc could not fetch local file

Duncan Murdoch murdoch.duncan at gmail.com
Mon May 22 01:25:29 CEST 2017


On 21/05/2017 6:14 PM, Dean Attali wrote:
> Thank you, you're right, I never realized the README on CRAN didn't show
> the images.
>
> Is there a way to force 'R CMD build' to include the images that are
> located in the vignettes directory?

No, but you can include those files in some directory under inst, e.g. 
inst/images.  Then R code system.file("images/foo.png", package = "pkg") 
will give you the filename.

In most cases this isn't necessary, because in most vignettes figures 
are produced by the R code, but obviously there are exceptions.

Duncan Murdoch

>
> ---
> Dean Attali
> President & CEO
> AttaliTech Ltd
> http://AttaliTech.com <http://attalitech.com>
>
> On 21 May 2017 at 12:04, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:
>
>> Please take the package tarball you submitted to CRAN and unpack it. It
>> does *not* contain the files.
>>
>> Best,
>> Uwe Ligges
>>
>>
>>
>>
>> On 19.05.2017 20:18, Dean Attali wrote:
>>
>>> I'm trying to submit an update to a package 'ddpcr'
>>>
>>> Here are the pretest logs:
>>> https://win-builder.r-project.org/incoming_pretest/170519_07
>>> 4459_ddpcr_18/00check.log
>>>
>>> I get a warning about pandoc not being able to find an image file. This
>>> file path exists and has not changed from the previous submission, and
>>> previous submissions did not have this issue.
>>>
>>> Exact error:
>>>
>>> Conversion of 'README.md' failed:
>>> pandoc.exe: Could not fetch
>>> vignettes/overview_files/figure-markdown_strict/quickstart-1.png
>>> vignettes/overview_files/figure-markdown_strict/quickstart-1.png:
>>> openBinaryFile: does not exist (No such file or directory)
>>>
>>> You can verify that the file path does exist, as you can see on the github
>>> repo:
>>> https://github.com/daattali/ddpcr/blob/master/vignettes/over
>>> view_files/figure-markdown_strict/quickstart-1.png
>>>
>>> Could anyone help me understand why I'm getting this error, and why it
>>> never happened before even though nothing has changed?
>>>
>>>         [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-package-devel at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>>>
>>>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>



More information about the R-package-devel mailing list