[R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

Duncan Murdoch murdoch.duncan at gmail.com
Mon Jul 1 01:59:14 CEST 2013

On 13-06-30 7:54 PM, Søren Højsgaard wrote:
> gRbase use graph, RBGL and Rgraphviz from bioconductor. My understanding is that if I put vignettes into /vignettes then R CMD build will build the vignettes and put them into /inst/doc and this works:
> gRbase/inst/
> gRbase/inst/CITATION
> gRbase/inst/doc/
> gRbase/inst/doc/gRbase-arrayops1.R
> gRbase/inst/doc/gRbase-arrayops1.Rnw
> gRbase/inst/doc/gRbase-arrayops1.pdf
> gRbase/inst/doc/gRbase-arrayops2.R
> gRbase/inst/doc/gRbase-arrayops2.Rnw
> gRbase/inst/doc/gRbase-arrayops2.pdf
> gRbase/inst/doc/gRbase-graphs.R
> gRbase/inst/doc/gRbase-graphs.Rnw
> gRbase/inst/doc/gRbase-graphs.pdf
> After installing I then get
>> vignette(package="gRbase")
> no vignettes found
> sorenh at sorenh:~/docs/stat/Rdevel/gmwR-DEVEL/gRbaseDEVEL$ R --version
> R version 3.0.1 (2013-05-16) -- "Good Sport"
> Copyright (C) 2013 The R Foundation for Statistical Computing
> Platform: x86_64-pc-linux-gnu (64-bit)
> However, Martin Morgan reports that it works for him. I don't know what to make of this.

Do you have all of those packages installed at the time you install 
gRbase?  If so, it may be a bug.  As I said, installation code is being 
worked on.

Duncan Murdoch

More information about the R-help mailing list