[R] R CMD check error: File `inconsolata.sty' not found
Naresh Gurbuxani
n@re@h_gurbux@n| @end|ng |rom hotm@||@com
Sun Feb 2 15:58:31 CET 2025
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
More information about the R-help
mailing list