[Rd] Error in texi2dvi

Mikko Korpela mikko.korpela at helsinki.fi
Mon Jun 20 13:50:16 CEST 2016


On 18/06/16 05:21, Spencer Graves wrote:
> Hello:
>
>
>        Changes in R seem to have broken the sos vignette, and I don't
> know how to fix it.  The build on R-forge,
> "https://r-forge.r-project.org/R/?group_id=235&log=build_src&pkg=sos&flavor=patched",
> ends as follows:
>
>
> Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  :
>    Running 'texi2dvi' on 'sos.tex' failed.
> LaTeX errors:
> ! Undefined control sequence.
> l.1 \Sconcordance
>                   {concordance:sos.tex:sos.Rnw:%
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> Calls:  -> texi2pdf -> texi2dvi
> Execution halted
>

...

>        What can I do to get this vignette to working again with the
> least amount of work?

Try commenting out (removing) the following line in your vignette:

\SweaveOpts{concordance=TRUE}

The package builds just fine after doing that, on this computer. The 
R-Forge history of sos.Rnw shows the line was added on May 12, revision 237.

-- 
Mikko Korpela
Department of Geosciences and Geography
University of Helsinki



More information about the R-devel mailing list