[Tikzdevice-bugs] [R-Forge] tikzDevice 0.5.1

Charlie Sharpsteen chuck at sharpsteen.net
Mon Oct 11 09:04:15 CEST 2010


On Sun, Oct 10, 2010 at 11:37 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote:

> >>>>> The tikzDevice team writes:
>
> > [This message was generated by R-Forge]
> > The following package was uploaded to CRAN:
> > ===========================================
> > Package: tikzDevice
> > Version: 0.5.1
> > Description: The TikZ device enables LaTeX-ready output from R graphics
> > functions. This is done by producing code that can be understood by  the
> > TikZ graphics language. All text in a graphic output with the  tikz()
> > function will can be typeset by LaTeX and therefore will match  whatever
> > fonts are currently used in the document. This also means  that LaTeX
> > mathematics can be typeset directly into labels and  annotations!
>  Graphics
> > produced this way can also be annotated with  custom TikZ commands.
> > Author(s): Charlie Sharpsteen and Cameron Bracken
> > Maintainer: The tikzDevice team
> > <tikzdevice-bugs at lists.r-forge.r-project.org>
> > License: GPL (>= 2.0)
>
> > Submitter's comment:
> > tikzDevice v. 0.5.1 is a bugfix release.
>
>
>
> > Two fixes are of critical importance:
>
>
>
> > - The way the tikzDevice .onLoad() function handles Sys.which()
> > information has been modified to address build issues on Solaris.
>
>
>
> > - A stub to handle the polypath() function appearing in R 2.12.0 so there
> > won\'t be any fatal crashes.
>
>
> Thanks.  I get some problems (see below), can u pls have a look?
>
> Best
> -k
>
> * checking package vignettes in ‘inst/doc’ ... NOTE
> *** PDFLaTeX Errors ***
> File /home/Hornik/tmp/CRAN/tikzDevice.Rcheck/inst/doc/tikzDevice.Rnw :
> Running ‘texi2dvi’ on ‘tikzDevice.tex’ failed.
> LaTeX errors:
> ! Extra }, or forgotten \endgroup.
> l.882 }
> I've deleted a group-closing symbol because it seems to be
> spurious, as in `$x}$'. But perhaps the } is legitimate and
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: \begin{minipage} on input line 508 ended by
> \end{description}.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! Missing $ inserted.
> <inserted text>
>                $
> l.1110 mtext(paste("Linear model: $R^
>                                     {2}=",
> ! Bad space factor (0).
> <recently read> \@savsf
> l.1117 dev.off()\end{tikzCodeBlock}
> ! Package pgfkeys Error: I do not know the key '/tikzCode/code body' and I
> am g
> oing to ignore it. Perhaps you misspelled it.
> See the pgfkeys package documentation for explanation.
> Type  H <return>  for immediate help.
> ! LaTeX Error: \begin{minipage} on input line 1098 ended by
> \end{tikzCodeBlock}
> .
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
> ! Missing } inserted.
> <inserted text>
>                }
> l.1117 dev.off()\end{tikzCodeBlock}
> ! Missing } inserted.
> <inserted text>
>                }
> l.1118  \end{minipage}
> ! LaTeX Error: \begin{figure} on input line 1096 ended by \end{minipage}.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: \begin{figure} on input line 506 ended by \end{description}.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! Missing $ inserted.
> <inserted text>
>                $
> l.1736
> ! Bad space factor (0).
> <recently read> \@savsf
> l.1775 dev.off()\end{tikzCodeBlock}
> ! Extra \endgroup.
> \tikzCode at suspendOutputCapture ...phack \endgroup
> l.1775 dev.off()\end{tikzCodeBlock}
> ! Package pgfkeys Error: I do not know the key '/tikzCode/code body' and I
> am g
> oing to ignore it. Perhaps you misspelled it.
> See the pgfkeys package documentation for explanation.
> Type  H <return>  for immediate help.
> ! Package pgfkeys Error: I do not know the key '/tikzCode/code body' and I
> am g
> oing to ignore it. Perhaps you misspelled it.
> See the pgfkeys package documentation for explanation.
> Type  H <return>  for immediate help.
> ! LaTeX Error: \begin{document} ended by \end{tikzCodeBlock}.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! Extra \endgroup.
> <recently read> \endgroup
> l.1775 dev.off()\end{tikzCodeBlock}
> ! Too many }'s.
> l.2226 }
> You've closed more groups than you opened.
> Such booboos are generally harmless, so keep going.
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! LaTeX Error: \begin{document} ended by \end{description}.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...
> ! Extra \endgroup.
> <recently read> \endgroup
> l.2287 \end{description}
> ! Missing $ inserted.
> <inserted text>
>                $
> l.2454
> ! Bad space factor (0).
> <recently read> \@savsf
> l.2580 dev.off()\end{tikzCodeBlock}
> ! Extra \endgroup.
> \tikzCode at su
> _______________________________________________
> Tikzdevice-bugs mailing list
> Tikzdevice-bugs at lists.r-forge.r-project.org
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevice-bugs



Hrm, hrm, hrm.

Don't know what to say about that error.

The tarball I submitted to CRAN passess `R CMD check` on my machine which
involves building the vignette.

It also compiles just fine using `R CMD Sweave` followed by either
`pdflatex` or `texi2dvi -p`.  I did a quick look over the Git logs and could
not find any changes to tikzDevice.Rnw that jumped out as being possible
causes for the errors in your log.


Cameron,

Could I get a sanity check that the vignette for 0.5.1 builds on your
machine?


Kurt,

Which TeX distribution are you using and version is it?


-Charlie


More information about the Tikzdevice-bugs mailing list