[R-pkg-devel] Fixed for messages
thierry.onkelinx at inbo.be
Mon Jan 8 18:17:07 CET 2018
Make sure that in DESCRIPTION you have at least
Suggests: knitr, rmarkdown
The vignette requires
webshot is used by rmarkdown or knitr to convert dynamic HTML output
to a static image when the output is not HTML. Are you using pdf as
output format for the vignette? Consider using
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkelinx at inbo.be
Havenlaan 88 bus 73, 1000 Brussel
To call in the statistician after the experiment is done may be no
more than asking him to perform a post-mortem examination: he may be
able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data. ~ John Tukey
2018-01-08 17:40 GMT+01:00 Roy Mendelssohn - NOAA Federal
<roy.mendelssohn at noaa.gov>:
> Thanks Henrik:
> I am a little slow, I want to make certain I do this correctly. I already have knitr in my Suggests, and the message is:
> So do I put in my Suggests list rmarkdown or knitr::rmarkdown
> And most importantly, thanks for the explanation about what is happening with R-devel. Of the responses I have seen, it is the first one (at least to me) that is clear what is going on to cause the errors, and how to approach correcting them.
>> On Jan 8, 2018, at 8:32 AM, Henrik Bengtsson <henrik.bengtsson at gmail.com> wrote:
>> On Mon, Jan 8, 2018 at 7:31 AM, Roy Mendelssohn - NOAA Federal
>> <roy.mendelssohn at noaa.gov> wrote:
>>> Hi All:
>>> In tesitng a package on winbuild-devel (but not on release) I get the following errors or warnings:
>>>> Warning in engine$weave(file, quiet = quiet, encoding = enc) :
>>>> The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
>>> There was an email about this a few days ago, but then, as now, it is not clear to me specifically what I need to do where so that I don't get this warning. Do I need to include rmarkdown in the Suggests,
>> Yes, add it to Suggests.
>> or do I need to do something specific in the Vignette. Or is this
>> just a question that winbuild hasn't installed it yet in the
>> development version and I can ignore it for now?
>>> Also I am getting this error (again only in the development version):
>>>> Error: processing vignette 'Usingxtractomatic.Rmd' failed with diagnostics:
>>>> there is no package called 'webshot'
>>> Now I don't explicitly use a package called 'webshot', but the lines referenced in the error message are:
>>> where "searchResult" is just a list. DT itself does not explicitly import "webshot" either.
>> It most likely depend on 'webshot' indirectly through some of your
>> package dependencies. So, add this one too to Suggests.
>> As far as I understand it, the new R-devel tests basically tests your
>> package with the minimal setup of packages (a "sandboxed" .libPaths())
>> inferred from you DESCRIPTION (by excluding Suggests of the packages
>> you depend on, which is where I think 'webshot' lives).
>>> I would like to submit this package, but I don't want to submit with any errors or warnings. Again, I only get these on winbuild-devel.
>>> Thanks for any help.
>>> "The contents of this message do not reflect any position of the U.S. Government or NOAA."
>>> Roy Mendelssohn
>>> Supervisory Operations Research Analyst
>>> Environmental Research Division
>>> Southwest Fisheries Science Center
>>> ***Note new street address***
>>> 110 McAllister Way
>>> Santa Cruz, CA 95060
>>> Phone: (831)-420-3666
>>> Fax: (831) 420-3980
>>> e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/
>>> "Old age and treachery will overcome youth and skill."
>>> "From those who have been given much, much will be expected"
>>> "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
>>> R-package-devel at r-project.org mailing list
> "The contents of this message do not reflect any position of the U.S. Government or NOAA."
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> Environmental Research Division
> Southwest Fisheries Science Center
> ***Note new street address***
> 110 McAllister Way
> Santa Cruz, CA 95060
> Phone: (831)-420-3666
> Fax: (831) 420-3980
> e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
> "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
> R-package-devel at r-project.org mailing list
More information about the R-package-devel