Naresh Gurbuxani
2025-Feb-02 14:58 UTC
[R] R CMD check error: File `inconsolata.sty' not found
R CMD check <package> gives me below message at the end. There does not seem to be a problem with my TeX installation. Is it possible that R CMD check is not looking in the correct location? How can this problem be fixed? Thanks, Naresh * 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.326 ^^M ! ==> Fatal error occurred, no output PDF file produced! * checking PDF version of manual without index ... OK * DONE My Mac has the latest version of TeX installed from texlive. Below are top few lines from running tlmgr conf =========================== version information =========================tlmgr revision 73493 (2025-01-17 23:28:29 +0100) tlmgr using installation: /usr/local/texlive/2024 TeX Live (https://tug.org/texlive) version 2024 ==================== executables found by searching PATH ================PATH: /usr/local/texlive/2024/bin/universal-darwin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/texlive/2024/bin/universal-darwin dvipdfmx: /usr/local/texlive/2024/bin/universal-darwin/dvipdfmx dvips: /usr/local/texlive/2024/bin/universal-darwin/dvips fmtutil: /usr/local/texlive/2024/bin/universal-darwin/fmtutil kpsewhich: /usr/local/texlive/2024/bin/universal-darwin/kpsewhich luatex: /usr/local/texlive/2024/bin/universal-darwin/luatex mktexpk: /usr/local/texlive/2024/bin/universal-darwin/mktexpk pdftex: /usr/local/texlive/2024/bin/universal-darwin/pdftex tex: /usr/local/texlive/2024/bin/universal-darwin/tex tlmgr: /usr/local/texlive/2024/bin/universal-darwin/tlmgr updmap: /usr/local/texlive/2024/bin/universal-darwin/updmap xetex: /usr/local/texlive/2024/bin/universal-darwin/xetex On the command line, I tried updating incosolata package bash-3.2$ sudo tlmgr install inconsolata Password: tlmgr: package repository https://ctan.tinycomputers.io/tex-archive/systems/texlive/tlnet (verified) tlmgr install: package already present: inconsolata bash-3.2$ sudo tlmgr update inconsolata tlmgr: package repository https://ctan.tinycomputers.io/tex-archive/systems/texlive/tlnet (verified) tlmgr: saving backups to /usr/local/texlive/2024/tlpkg/backups tlmgr: no updates available
Enrico Schumann
2025-Feb-05 19:17 UTC
[R] R CMD check error: File `inconsolata.sty' not found
On Sun, 02 Feb 2025, Naresh Gurbuxani writes:> R CMD check <package> gives me below message at the > end. There does not seem to be a problem with my TeX > installation. Is it possible that R CMD check is not > looking in the correct location? How can this problem > be fixed? > > Thanks, > Naresh > > * 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.326 ^^M > > ! ==> Fatal error occurred, no output PDF file produced! > * checking PDF version of manual without index ... OK > * DONE > > My Mac has the latest version of TeX installed from texlive. Below are top few lines from running tlmgr conf > > =========================== version information =========================> tlmgr revision 73493 (2025-01-17 23:28:29 +0100) > tlmgr using installation: /usr/local/texlive/2024 > TeX Live (https://tug.org/texlive) version 2024 > ==================== executables found by searching PATH ================> PATH: /usr/local/texlive/2024/bin/universal-darwin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/texlive/2024/bin/universal-darwin > dvipdfmx: /usr/local/texlive/2024/bin/universal-darwin/dvipdfmx > dvips: /usr/local/texlive/2024/bin/universal-darwin/dvips > fmtutil: /usr/local/texlive/2024/bin/universal-darwin/fmtutil > kpsewhich: /usr/local/texlive/2024/bin/universal-darwin/kpsewhich > luatex: /usr/local/texlive/2024/bin/universal-darwin/luatex > mktexpk: /usr/local/texlive/2024/bin/universal-darwin/mktexpk > pdftex: /usr/local/texlive/2024/bin/universal-darwin/pdftex > tex: /usr/local/texlive/2024/bin/universal-darwin/tex > tlmgr: /usr/local/texlive/2024/bin/universal-darwin/tlmgr > updmap: /usr/local/texlive/2024/bin/universal-darwin/updmap > xetex: /usr/local/texlive/2024/bin/universal-darwin/xetex > > On the command line, I tried updating incosolata package > > bash-3.2$ sudo tlmgr install inconsolata > Password: > tlmgr: package repository https://ctan.tinycomputers.io/tex-archive/systems/texlive/tlnet (verified) > tlmgr install: package already present: inconsolata > > bash-3.2$ sudo tlmgr update inconsolata > tlmgr: package repository https://ctan.tinycomputers.io/tex-archive/systems/texlive/tlnet (verified) > tlmgr: saving backups to /usr/local/texlive/2024/tlpkg/backups > tlmgr: no updates availableWhat does kpsewhich inconsolata.sty (on the command line) say? (It should show the location of the file.) The 'Installation and Administration' manual briefly discusses how to build the manual for a package, also without 'inconsolata': https://cran.r-project.org/doc/manuals/R-admin.html#Making-the-manuals -- Enrico Schumann Lucerne, Switzerland https://enricoschumann.net
Reasonably Related Threads
- R CMD check error: File `inconsolata.sty' not found
- Problem with R CMD check and the inconsolata font business.
- While using R CMD check: LaTex error: File `inconsolata.sty' not found
- Problem with inconsolata font (again) --- on Fedora 17 this time.
- R 3.0.2 and LaTeX changes