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

Søren Højsgaard sorenh at math.aau.dk
Mon Jul 1 02:05:05 CEST 2013


Yes, these packages are all installed.
Søren

-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Sent: 1. juli 2013 01:59
To: Søren Højsgaard
Cc: Martin Morgan; R hELP (r-help at stat.math.ethz.ch)
Subject: Re: [R] Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc

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