[R] Problem with R CMD check and the inconsolata font business.

Ray Brownrigg Ray.Brownrigg at ecs.vuw.ac.nz
Thu Nov 3 23:58:22 CET 2011


On Fri, 04 Nov 2011, Brian Diggs wrote:
> On 11/3/2011 2:29 PM, Rolf Turner wrote:
> > On 03/11/11 20:37, Rolf Turner wrote:
> >> I have just installed R version 2.14.0 and tried to re-build and
> >> re-check some
> >> of the packages that I maintain.
> >> 
> >> I'm getting a warning (in the process of running R CMD check on my
> >> "deldir"
> >> 
> >> package):
SNIP
> > I received two replies off-line and one that was sent to the list. The
> > gist of the
> > off-line replies was ``you need to install some fonts'', and (unusually,
> > and very
> > kindly! :-) ) the responders told me *how* to do so.
> 
> <SNIP (descriptions of how to install on various Linux distributions)>
> 
> > The third message (which *was* posted to the list) was from Brian Diggs,
> > 
> > who said that he was having a related problem:
> >> The error on R CMD check I get is:
> >> 
> >> * checking PDF version of manual ... WARNING
> >> LaTeX errors when creating PDF version.
> >> This typically indicates Rd problems.
> >> LaTeX errors found:
> >> !pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata
> >> at 540 n
> >> ot found
> >> ==> Fatal error occurred, no output PDF file produced!
SNIP
> I thought that making sure the proper latex packages were installed
> would be sufficient, but apparently not.  I found the actual font at
> http://www.levien.com/type/myfonts/Inconsolata.otf, downloaded it, and
> installed it.  It shows up in my list of fonts available (as Inconsolata
> Medium) via the control panel.  However, I still get the same error from
> R CMD check.  I tried rebuilding the TeX filename database, but that
> didn't help.  I've searched my drive for any mention of inconsolata, and
> the hits are:
> 
> ./Program Files (x86)/MiKTeX 2.9/doc/fonts/inconsolata
> ./Program Files (x86)/MiKTeX 2.9/doc/fonts/inconsolata/inconsolata.pdf
> ./Program Files (x86)/MiKTeX 2.9/fonts/enc/dvips/inconsolata
> ./Program Files (x86)/MiKTeX 2.9/fonts/map/dvips/inconsolata
> ./Program Files (x86)/MiKTeX 2.9/fonts/opentype/public/inconsolata
> ./Program Files (x86)/MiKTeX 2.9/fonts/sfd/inconsolata
> ./Program Files (x86)/MiKTeX 2.9/fonts/tfm/public/inconsolata
> ./Program Files (x86)/MiKTeX
> 2.9/fonts/tfm/public/inconsolata/ec-inconsolata.tfm
> ./Program Files (x86)/MiKTeX
> 2.9/fonts/tfm/public/inconsolata/ei1-inconsolata.tfm
> ./Program Files (x86)/MiKTeX
> 2.9/fonts/tfm/public/inconsolata/qx-inconsolata.tfm
> ./Program Files (x86)/MiKTeX
> 2.9/fonts/tfm/public/inconsolata/rm-inconsolata.tfm
> ./Program Files (x86)/MiKTeX
> 2.9/fonts/tfm/public/inconsolata/texnansi-inconsolata.tfm
> ./Program Files (x86)/MiKTeX
> 2.9/fonts/tfm/public/inconsolata/ts1-inconsolata.tfm
> ./Program Files (x86)/MiKTeX 2.9/fonts/type1/public/inconsolata
> ./Program Files (x86)/MiKTeX 2.9/source/inconsolata-src.tar.bz2
> ./Program Files (x86)/MiKTeX 2.9/tex/latex/inconsolata
> ./Program Files (x86)/MiKTeX 2.9/tex/latex/inconsolata/inconsolata.sty
> ./Program Files (x86)/MiKTeX 2.9/tpm/packages/inconsolata.tpm
> 
> Which seems to confirm that TeX knows and has the font.
> 
> I would appreciate any further assistance.
> 
SNIP

Brian:

When I first tried an R CMD check (or it was probably an R CMD INSTALL --build) using 
R-2.14.0 on a Windows system with MiKTeX 2.8, MiKTeX went ahead and "automagically" 
installed the required components from a CTAN repository (which I had to select on the 
way).

Do you mind sending me (off-list) your package so I can check it with my (very old Pentium 
III, Win XP) system?  [I see you are running a 64-bit system.]

Hope this helps,
Ray Brownrigg



More information about the R-help mailing list