[Rd] inconsolata font for building vignettes with R-devel

Trevor Davis trevor.l.davis at gmail.com
Sat Feb 11 00:04:09 CET 2012

> So is there a safe fallback or not?  Should I install texlive-fonts-extra too
> when building?
> Dirk

Today I needed to run

sudo apt-get install texlive-fonts-extra

in order to build a package in R 2.14.1 Ubuntu 11.10

Else I get the following warning/error:

* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! LaTeX Error: File `inconsolata.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

! Emergency stop.
<read *>

l.267 ^^M

!  ==> Fatal error occurred, no output PDF file produced!

If you don't use the latest Ubuntu build from CRAN but instead use the
build of R in the normal Ubuntu repos (i.e. R 13.2) than this
error/warning does not occur...  Probably wisest to install
texlive-fonts-extra for now.

More information about the R-devel mailing list