On 2023-04-25 10:02, Ivan Krylov wrote:
On Mon, 24 Apr 2023 18:17:22 +0200
Göran Broström <g...@ehar.se> wrote:
cannot open file '/usr/lib/R/doc/html/katex/katex.js': No such
file or directory
I still get the error with R CMD check --as-cran. What am I
missing? Obviously /usr/lib/R/doc/html/katex/katex.js (no 'doc'), but
...
I am installing R via apt.
Thank you for mentioning this detail!
At least in Debian packages, R's copy of KaTeX lives in /usr/share: per
Debian policy, "share" is for human-readable files like KaTeX, and
"lib" is for shared libraries, compiled code and the like.
For a copy of R built from source, it's not a problem:
Thanks. I have now built R from source and can confirm that everything
works nicely. Can't remember when and why I stopped building R from
source, probably not a good idea.
Göran
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel