From sfalcon at fhcrc.org  Tue May 22 02:10:37 2007
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Mon, 21 May 2007 17:10:37 -0700
Subject: [Rd] Passing R CMD Check without data
In-Reply-To: <8029eca10705210719t344748a8sdabdd5639b9f2dc4@mail.gmail.com>
	(Arjun Ravi Narayan's message of "Mon,
	21 May 2007 10:19:27 -0400")
References: <8029eca10705210719t344748a8sdabdd5639b9f2dc4@mail.gmail.com>
Message-ID: <m2veel90qq.fsf@ziti.local>

"Arjun Ravi Narayan" <contact at arjunnarayan.com> writes:

> I have a package which passes R CMD check with the --no-vignettes option.
> However, it does not pass the check without that, as the vignette relies on
> some data files that I cannot distribute. However, I would like the package
> to pass the check so that I can put it on CRAN, so that other people with
> access to the dataset can put the data into the package, and then rebuild
> the vignettes themselves.

I would recommend having a separate vignette that uses toy data, if
that is all that is available, that demonstrates the basic use of
the package.  A consider part of the value of a package vignette,
IMHO, is having something that (i) the user can run interactively on
their own, and (ii) can be automatically checked.

Your current vignette can be included as pdf (the Rnw could live in
another place under inst/).

You might also look at the vsn package in Bioconductor which uses a
Makefile to avoid R CMD check from building its vignette because it is
too time consuming...

+ seth

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org



[Rd] Passing R CMD Check without data
Seth Falcon