I have been struggling to try many ways with old version of R tools,
MikTex, and R versions including R-patached and R-devel, os version
(windows 7 and 8), but no luck to pass R CMD check at all. It seems that
the missing inconsolata.sty is a key issue to bother so many R users,
especially for those R users without much experience of latex. Even I
renamed zi4.sty to inconsolata.sty, it did not work at all. I am wondering
if any experienced R tools developers can fix this issue. Thanks.

For reference, here is an example of a testing package with errors I had:

* using log directory 'E:/Dropbox/RGenMod/data.Rcheck'
* using R version 3.0.1 (2013-05-16)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'data/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'data' version '1.0'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'data' can be installed ... WARNING
Found the following significant warnings:
  Warning: E:/Dropbox/RGenMod/data/man/data-package.Rd:31: All text must be
in a section
  Warning: E:/Dropbox/RGenMod/data/man/data-package.Rd:32: All text must be
in a section
See 'E:/Dropbox/RGenMod/data.Rcheck/00install.out' for details.
* checking installed package size ... OK
* checking package directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ...
OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking Rd files ... WARNING
prepare_Rd: data-package.Rd:31: All text must be in a section
prepare_Rd: data-package.Rd:32: All text must be in a section
* checking Rd metadata ... OK
* checking Rd cross-references ... WARNING
Unknown package '<pkg>' in Rd xrefs
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of 'data' directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... OK
* 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.281

!  ==> Fatal error occurred, no output PDF file produced!
* checking PDF version of manual without hyperrefs or index ... OK
WARNING: There were 4 warnings.
See
  'E:/Dropbox/RGenMod/data.Rcheck/00check.log'
for details.



On Fri, Jul 12, 2013 at 12:49 PM, Berend Hasselman <b...@xs4all.nl> wrote:

>
> On 12-07-2013, at 18:04, Ravi Varadhan <ravi.varad...@jhu.edu> wrote:
>
> > Hi,
> > While using R CMD check I get the following Latex error message which
> occurs when creating PDF version of manual:
> > LaTex error:  File `inconsolata.sty' not found
> > I am using Windows 7 (64-bit) and R 3.0.1.  I have MikTex 2.9.
> > I see that the incosolata.sty is present under \doc\fonts folder.  How
> can I eliminate this problem?
>
> See
> http://r.789695.n4.nabble.com/inconsolata-sty-is-liable-to-disappear-texinfo-5-1-td4669976.html
>
> Get R-patched.
>
> Berend
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to