Skip to content

[R-pkg-devel] Help with CRAN error

6 messages · Joshua Ulrich, Roy Mendelssohn - NOAA Federal, Dev Chakraborty

#
Dear All,

I get the following message on running R CMD check -- as - cran:

Package has a VignetteBuilder field but no prebuilt vignette index.

I do not know how to fix this. Any help will be appreciated.

Sincerely,

Dev
#
On Sun, Feb 4, 2018 at 12:47 PM, Dev Chakraborty <dpc10ster at gmail.com> wrote:
I don't know how to fix it either.  That said, often a great first
step is to search for the error.  A Google search for, "Package has a
VignetteBuilder field but no prebuilt vignette index.", which points
to: https://stackoverflow.com/q/30976308.

And a Google search "VignetteBuilder" has several promising "how to"
results, and there is a "Non-Sweave Vignettes" section of Writing R
Extensions:
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Non_002dSweave-vignettes.

It will be easier for others to help you if you can do some
investigation on your own and come back with more specifics.

  
    
#
If you can't find the solution yourself,  posting the top matter of your vignette file would also 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.
#
Roy,

I don't use a knitR file, but my DESCRIPTION file had a field:

VignetteBuilder: knitr

Deleting this field solved the problem (i.e., got rid of that message in my
original email)

Thanks for all your help.

Dev



On Sun, Feb 4, 2018 at 2:05 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelssohn at noaa.gov> wrote:

            

  
    
#
Glad you found the solution.  I would add as an aside,  I have found a good vignette is worth the effort.  R docs tend to be like Unix docs,  relatively short and terse and can be hard for someone not familiar with the package what all the options might do.  A good vignette allows you to lay out in detail how to use the package,  and to do so in context. 

-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.
#
Thanks for your suggestion. I do a published book that describes what this
package does. Dev

On Sun, Feb 4, 2018 at 2:44 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelssohn at noaa.gov> wrote: