[Rd] Checking package vignettes: WARNING
Arne Henningsen
arne.henningsen at googlemail.com
Wed Jul 16 14:57:39 CEST 2008
Hi Bernhard!
On Wednesday 16 July 2008 14:16:05, you wrote:
> I do not know if this matters, but have you used 'results = verbatim' in
> your R code chunk? See page 13 in:
> http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf
Thank you for this hint. I have tried this option, but it seems to have no
effect on the quotation marks. Hence, I still do not know whether the
quotation marks or something else causes the warning.
Arne
> >Hi,
> >
> >I want to have a "vignette" in one of my R packages. Hence, I
> >added an Sweave
> >file into the /inst/doc subdirectory of this package.
> >Unfortunately, 'R CMD
> >check' gives a warning:
> >
> >==========================================
> >[...]
> >* checking tests ... OK
> >* checking package vignettes in 'inst/doc' ... WARNING
> >--- führe texi2dvi auf Vignetten aus
> >* creating sampleSelection-manual.tex ... OK
> >* checking sampleSelection-manual.tex using pdflatex ... OK
> >
> >WARNING: There was 1 warning, see
> >
> >/home/suapm095/Documents/Econometrics/R/micEcon/micEcon/sampleS
> >election.Rcheck/00check.log
> >for details
> >==========================================
> >
> >Since the line below "WARNING" is in German, I ran 'LC_ALL="C"
> >R CMD check'
> >to get an English message (which I could use in a Google
> >search). However, the
> >warning does NOT occur if I run 'R CMD check' in the 'C'
> >locale. I tried a
> >lot of different things and I figured out that 'führe texi2dvi
> >auf Vignetten
> >aus' is the translation of 'running texi2dvi on vignettes',
> >but I did not
> >find the reason for the warning message that occurs if 'R CMD
> >check' is run
> >in the German locale. If I run Sweave and texi2dvi by hand
> >with both locales,
> >the only possibly relevant difference I noticed is that Sweave
> >uses straight
> >single quotation marks in the 'C' locale but (italicized)
> >primes in the
> >German locale:
> >
> >'C' locale:
> > Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
> >
> >German locale:
> > Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
> >
> >System Information:
> >R 2.7.1
> >i486-pc-linux-gnu
> >Kubuntu 8.04
> >
> >Any hints are welcome!
> >Thanks,
> >Arne
> >
> >--
> >Arne Henningsen
> >http://www.arne-henningsen.name
> >
> >______________________________________________
> >R-devel at r-project.org mailing list
> >https://stat.ethz.ch/mailman/listinfo/r-devel
>
> *****************************************************************
> Confidentiality Note: The information contained in this message,
> and any attachments, may contain confidential and/or privileged
> material. It is intended solely for the person(s) or entity to
> which it is addressed. Any review, retransmission, dissemination,
> or taking of any action in reliance upon this information by
> persons or entities other than the intended recipient(s) is
> prohibited. If you received this in error, please contact the
> sender and delete the material from any computer.
> *****************************************************************
--
Arne Henningsen
http://www.arne-henningsen.name
More information about the R-devel
mailing list