[R-pkg-devel] katex

Göran Broström gb @end|ng |rom eh@r@@e
Tue Apr 25 12:02:08 CEST 2023



On 2023-04-25 10:02, Ivan Krylov wrote:
> On Mon, 24 Apr 2023 18:17:22 +0200
> Göran Broström <gb using 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



More information about the R-package-devel mailing list