From ligges at statistik.tu-dortmund.de  Wed Mar 28 22:21:37 2012
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Wed, 28 Mar 2012 22:21:37 +0200
Subject: [Rd] --as-cran  / BuildVignettes: false
In-Reply-To: <4F733730.5030104@gmail.com>
References: <4F733730.5030104@gmail.com>
Message-ID: <4F7372D1.1070609@statistik.tu-dortmund.de>



On 28.03.2012 18:07, Paul Gilbert wrote:
>
> I have packages where I know CRAN and other test platforms do not have
> all the resources to build the vignettes, for example, access to
> databases. Previously I think putting
>
> BuildVignettes: false
>
> in the DESCRIPTION file resolved this, by preventing CRAN checks from
> attempting to run the vignette code. (If it was not this, then there was
> some other magic I don't understand.)
>
> Now, when I specify --as-cran, the checks fail when attempting to check
> R code from vignettes, even though I have "BuildVignettes: false" in the
> DESCRIPTION file.

Paul, it says "BuiltVignettes" rather than "CheckVignettes".
If you want CRAN to disable those checks for some very good reason, 
please tell the CRAN maintainers, they will move your package to the 
exclude list for vignette checking.

Best,
Uwe


>
> What is the mechanism for indicating that CRAN should not attempt to
> check this code? Perhaps it is intentionally difficult - I can see an
> argument for that. (For running tests there are environment variables,
> e.g._R_CHECK_HAVE_MYSQL_, but using these really clutters up a vignette,
> and it did not seem necessary to use them before.)
>
> (The difficult also occurs on R-forge, possibly because it is using
> --as-cran like settings.)
>
> Paul
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] --as-cran / BuildVignettes: false
Uwe Ligges