[Rd] Vignettes with missing or empty \VignetteIndexEntry:

Kurt Hornik Kurt.Hornik at wu.ac.at
Mon May 11 15:10:04 CEST 2009


>>>>> Christophe Dutang writes:

> Hi,
> I have a problem when checking the package 'probdistr' (on probability  
> distributions).
> I got this warning

> * checking index information ... WARNING
> Vignettes with missing or empty \VignetteIndexEntry:
>   [1] "probdistr-chi"        "probdistr-contextra"  "probdistr-discrete"
>   [4] "probdistr-discrextra" "probdistr-exp"        "probdistr- 
> finitesupp"
>   [7] "probdistr-gaussian"   "probdistr-general"    "probdistr-gumbel"
> [10] "probdistr-intro"      "probdistr-logis"      "probdistr-math"
> [13] "probdistr-misc"       "probdistr-mult"       "probdistr-pareto"
> [16] "probdistr-student"
> See the information on INDEX files and package subdirectories in the
> chapter 'Creating R packages' of the 'Writing R Extensions' manual.

> The warning tells me \VignetteIndexEntry is missing however there is  
> one in probdistr-main.Rnw (Sweave file calling all other files via  
> \SweaveInput{probdistr-XXXXX}). Let us note this file is not listed in  
> the above files...

> But the build is ok

> * checking for file 'pkg/DESCRIPTION' ... OK
> * preparing 'pkg':
> * checking DESCRIPTION meta-information ... OK
> * installing the package to re-build vignettes
> * Installing *source* package ‘probdistr’ ...
> ** R
> ** inst
> ** help
> *** installing help indices
>>>> Building/Updating help pages for package 'probdistr'
>       Formats: text html latex example
>    codeforplot                       text    html    latex   example
> ** building package indices ...
> * DONE (probdistr)
> * creating vignettes ... OK
> * removing junk files
> * checking for LF line-endings in source and make files
> * checking for empty or unneeded directories
> * building 'probdistr_1.00.tar.gz'

> Does someone have an idea about this?

Sure.  The QC tools have no idea about \SweaveInput, and think that each
.Rnw should have a \VignetteIndexEntry.

-k

> Thanks in advance

> Christophe

> PS : files are available on R-forge

> --
> Christophe Dutang
> Ph. D. student at ISFA, Lyon, France
> website: http://dutangc.free.fr

> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list