From Kurt.Hornik at wu.ac.at  Mon May 11 15:10:04 2009
From: Kurt.Hornik at wu.ac.at (Kurt Hornik)
Date: Mon, 11 May 2009 15:10:04 +0200
Subject: [Rd] Vignettes with missing or empty \VignetteIndexEntry:
In-Reply-To: <CA867439-9FA3-4D44-A5AB-AFFB49F0F5D1@gmail.com>
References: <CA867439-9FA3-4D44-A5AB-AFFB49F0F5D1@gmail.com>
Message-ID: <18952.9132.66301.808260@fangorn.hornik.net>

>>>>> 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



[Rd] Vignettes with missing or empty \VignetteIndexEntry:
Kurt Hornik