Hi, I have a package that I'd like to submit to CRAN that does Sweave-like processing on Open Document format files from Open Office. If I remember correctly, there is a machine that automatically R CMD checks CRAN packages. I have two questions about how that system is set up: 1. Is the bitmap device available? The example produces a file using this device and I'd like it to pass R CMD check on your system (as it does on my machines). 2. Are there any restrictions on the Latex packages called in the vignette? This is not a big deal, but it would be good to know how much flexibility I have in producing that document. Thanks, Max ---------------------------------------------------------------------- LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}
Others may have better ideas but if you have a problem getting your vignette to pass R CMD check then you could process it yourself using Sweave to create a .tex file and then have a mypkg.Rnw file that just contains the SweaveOpt, %Vignette statements and an \input statement to input the .tex file that you generated yourself. That way you can generate it in a known environment. On 5/31/06, Kuhn, Max <Max.Kuhn at pfizer.com> wrote:> Hi, > > I have a package that I'd like to submit to CRAN that does Sweave-like > processing on Open Document format files from Open Office. > > If I remember correctly, there is a machine that automatically R CMD > checks CRAN packages. I have two questions about how that system is set > up: > > 1. Is the bitmap device available? The example produces a file using > this device and I'd like it to pass R CMD check on your system (as it > does on my machines). > > 2. Are there any restrictions on the Latex packages called in the > vignette? This is not a big deal, but it would be good to know how much > flexibility I have in producing that document. > > Thanks, > > Max > ---------------------------------------------------------------------- > LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}} > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
>>>>> On Wed, 31 May 2006 10:57:54 -0400, >>>>> Kuhn, Max (KM) wrote:> Hi, > I have a package that I'd like to submit to CRAN that does Sweave-like > processing on Open Document format files from Open Office. Sounds very interesting! > If I remember correctly, there is a machine that automatically R CMD > checks CRAN packages. I have two questions about how that system is set > up: > 1. Is the bitmap device available? The example produces a file using > this device and I'd like it to pass R CMD check on your system (as it > does on my machines). Yes, at leats for the main check machine (running Debian Linux). I cannot speak for the Windows and MacOS checks, but I don't see why ghostscript shouldn't be available there, too. > 2. Are there any restrictions on the Latex packages called in the > vignette? This is not a big deal, but it would be good to know how much > flexibility I have in producing that document. We do not run latex on the vignette (this *is* documented), only the R code is checked. The reason is exactly your question: Latex is to heterogenous to assume we have all packages the author of a vignette has, and we do not want to limit the typesetting. HTH, Fritz -- ----------------------------------------------------------------------- Prof. Dr. Friedrich Leisch Institut f?r Statistik Tel: (+49 89) 2180 3165 Ludwig-Maximilians-Universit?t Fax: (+49 89) 2180 5308 Ludwigstra?e 33 D-80539 M?nchen http://www.stat.uni-muenchen.de/~leisch