On ubuntu 14.04 with texlive, checking an R package, for example with devtools
check()
would return :
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.276 ^^M
! ==> Fatal error occurred, no output PDF file produced!
Installing texlive-fonts-extra
should take care of it.
You can also (though probably not recommented) tell Rd not to use inconsolata. Just change:
\DeclareOption{inconsolata}{\setboolean{Rd@use@inconsolata}{true}}
to
\DeclareOption{inconsolata}{\setboolean{Rd@use@inconsolata}{false}}
in your Rd.sty
file. On my installation it is at :
/usr/share/R/share/texmf/tex/latex/Rd.sty
but a
locate Rd.sty
should find it on any system.