[R-pkg-devel] Fixed for messages

Henrik Bengtsson henrik.bengtsson at gmail.com
Mon Jan 8 17:32:27 CET 2018


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:
>
>> require("DT")
>> DT::datatable(searchResult)
>>
>
> 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).

/Henrik

>
> 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.
>
> -Roy
>
>
>
>
> **********************
> "The contents of this message do not reflect any position of the U.S. Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> 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
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list