[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Is there any chance to make mathjaxr non-mandatory in metap



Dear All,

I am aware of the discussion and understand the issue with the way MathJax is bundled with mathjaxr (i.e., MathJax is provided by default using minified/compressed javascript, which (rightly so imho) could be argued to not be proper source code).

The minification is not something I did - I am just using how MathJax is provided by default. I do intend to look into creating a non-minified version of MathJax that I can then bundle with mathjaxr. If I succeed in doing so, then there might be an issue with mathjaxr becoming too large for a CRAN package, but maybe this is something that can be discussed with the CRAN maintainers (and possibly, the minification could still happen upon installation of the source package).

To be 100% clear: I absolutely understand the concern with the minified JS and I will try to find a solution (when I have the time). However, I personally never install R packages from deb's (i.e., I always install all R packages from source directly from CRAN). R packages are so frequently updated - and for good reason - that I would never rely on what version has been bundled as a deb in the past. But that's just my personal preference.

Best,
Wolfgang

>-----Original Message-----
>From: Michael Dewey [mailto:lists@dewey.myzen.co.uk]
>Sent: Wednesday, 27 January, 2021 12:44
>To: Andreas Tille; debian-r@lists.debian.org
>Cc: Viechtbauer, Wolfgang (SP)
>Subject: Re: Is there any chance to make mathjaxr non-mandatory in metap
>
>Dear Andreas
>
>I am rather reluctant to follow James' example and downgrade the
>documentation for everyone to suit the requirements of one OS, even an
>important one like Debian. Reverting to the previous version of metap
>for your packaging also seems undesirable as there was a bug fix albeit
>a small one. I did not see the maintainer of mathjaxr contributing to
>the discussion on the R mailing list so I am cc'ing this to him to see
>if he has any brainwave.
>
>One option would be for me to make a version for you to use for your
>packaging. I think I can do that without having to edit all the
>documentation files by giving you a personalised DESCRIPTION, NAMESPACE,
>and macros.Rd but I have not tested that yet. Of course if you package
>off the CRAN version that will not work.
>
>Michael
>
>On 27/01/2021 07:57, Andreas Tille wrote:
>> Hi Michael,
>>
>> there was some longer discussion about the usage of mathjaxr in
>> clubSandwich.  The part of the discussion on the Debian R packaging list
>> is in the according list archive[1].  I admit I'm lacking the necessary
>> knowledge in R to understand the solution that was found in clubSandwich
>> but it would be really great if you could do the same in your package
>> metap since this would enable us (the Debian R packaging team) to upgrade
>> metap to its latest version.
>>
>> Kind regards
>>
>>       Andreas.
>>
>> [1] https://lists.debian.org/debian-r/2021/01/msg00021.html

Reply to: