Skip to content
Back to formatted view

Raw Message

Message-ID: <7E8037094A0C2146AA3E6F94DAE621C393102652@AD-EXCHMBX2-1.aau.dk>
Date: 2013-07-01T00:05:05Z
From: Søren Højsgaard
Subject: Vignettes do not appear on CRAN if files are placed in /vignette subdirectory - but they do appear if placed in /inst/doc
In-Reply-To: <51D0C652.1020800@gmail.com>

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