[Rd] Passing R CMD Check without data

From: Arjun Ravi Narayan <contact_at_arjunnarayan.com>
Date: Mon, 21 May 2007 10:19:27 -0400

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.

One solution that was suggested to me on r-help was to have the vignette read off tex from a pre-built file which can be compiled with Sweave previously. However, this isnt really a graceful solution to handle the problem. Is it possible to put something in the Rnw file which would make it pass R CMD check even without the data? (I.E. it checks for the data, if it is present then it rebuilds the vignette, if not, then R CMD check leaves it alone)

Arjun Ravi Narayan

        [[alternative HTML version deleted]]

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 21 May 2007 - 14:29:56 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 May 2007 - 00:34:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.