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:

>>> knitr::rmarkdown

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.  

-Roy





> On Jan 8, 2018, at 8:32 AM, Henrik Bengtsson <henrik.bengts...@gmail.com> 
> wrote:
> 
> On Mon, Jan 8, 2018 at 7:31 AM, Roy Mendelssohn - NOAA Federal
> <roy.mendelss...@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.mendelss...@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@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel

**********************
"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.mendelss...@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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to