2

自 2009 年以来一直在 CRAN 上的“sos”包我遇到了新问题。一个问题是“R CMD build sos”失败如下:

>* creating vignettes ... ERROR
><snip>
>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: <Anonymous> -> texi2pdf -> texi2dvi
>Execution halted

该软件包可在 R-Forge 上获得。日志文件(build_src) 也在那里可用 这是来自 R-Forge 上的 R 3.3.1 的消息。我在运行 10.11.5 的 Mac OS X 上收到了类似但略有不同的消息形式 R 3.3.0。

此构建日志表明问题出在“sos”小插图上。但是,如果小插图有问题,我希望在 RStudio 0.99.902 中单击“编译 PDF”时看到它。相反,它声称运行完成,生成“sos.pdf”。(该输出还有其他问题,但这是另一篇文章的主题。)

谢谢,

4

0 回答 0