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

Rolf Turner rolf.turner at xtra.co.nz
Thu Nov 3 08:37:34 CET 2011


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):

> * checking PDF version of manual ... WARNING
> LaTeX errors when creating PDF version.
> This typically indicates Rd problems.
> LaTeX errors found:
> ! Font T1/fi4/m/n/10=ec-inconsolata at 10.0pt not loadable: Metric 
> (TFM) file n
> ot found.
> <to be read again>
>                    relax
> l.19 ...lf Turner }\email{r.turner at auckland.ac.nz}
> ! \textfont 0 is undefined (character h).
> \Url at FormatString ...\Url at String \UrlRight \m at th $
>
> l.26 ...\AsIs{}\url{http://www.math.unb.ca/~rolf/}
>                                                   \AsIs{}
> ! \textfont 0 is undefined (character t).
> \Url at FormatString ...\Url at String \UrlRight \m at th $
>
> l.26 ...\AsIs{}\url{http://www.math.unb.ca/~rolf/}
>                                                   \AsIs{}
> ! \textfont 0 is undefined (character t).
         ...... etc., etc., etc., ad (almost) infinitum.

So there's some problem with a font file not being "loadable".

Can anyone tell me what the <expletive deleted> I should ***do***
about this?  I managed to install the "inconsolata" package from CTAN.
At least I think I managed; I downloaded the *.zip file and then unzipped
it in /usr/share/texmf/tex/latex.  And ran "texhash".  This stopped R CMD
check from complaining that the "inconsolata" package could not be found,
but then led to the further complaint described above.

So how do I make the required font "loadable"?  What files do I need?
Where do I get them?  And where should I put them once I've got them?

I would be grateful for any assistance that can be rendered.

(I know it's "just a warning", but I *hate* to ignore warnings!)

     cheers,

         Rolf Turner

P. S.  I'm running Ubuntu; session info, in case it's of any relevance is:

sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: i686-pc-linux-gnu (32-bit)

locale:
  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
  [7] LC_PAPER=C                 LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] misc_0.0-15



More information about the R-help mailing list