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

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



And just a quick follow-up from me:

I now have a working mathjaxr version that contains no minified JS. By cutting out one of the (non-crucial) components from MathJax, I was also able to keep the package size below 5Mb and hence can avoid triggering the 'R CMD check' check warning. I will be submitting this to CRAN asap (after some final testing).

@Andreas: As for using an existing MathJax in the file system: I might look into this in the future, but unfortunately can't spend any time on this right now.

I included Duncan and James in cc as they have also made use of mathjaxr.

Best,
Wolfgang

>-----Original Message-----
>From: Michael Dewey [mailto:lists@dewey.myzen.co.uk]
>Sent: Friday, 29 January, 2021 14:59
>To: Dirk Eddelbuettel; Viechtbauer, Wolfgang (SP)
>Cc: Andreas Tille; debian-r@lists.debian.org
>Subject: Re: Is there any chance to make mathjaxr non-mandatory in metap
>
>Comment in-line
>
>On 28/01/2021 14:27, Dirk Eddelbuettel wrote:
>>
>> On 27 January 2021 at 12:03, Viechtbauer, Wolfgang (SP) wrote:
>> | 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.
>>
>> So do I, and I maintain ~ 100 of them and started the whole busines (with,
>> IIRC, r-cran-rodbc almost 18 years ago). I follow CRAN closely, so I just
>> update to /usr/local/lib/R/site-library daily or almost daily (littler
>script
>> `update.r`) on my main machine, and have done so on many work machines
>over
>> all those years.
>>
>> Michael Rutter' PPA is very good if you are on Ubuntu, and updates about
>once
>> a week so I use that on another laptop.
>>
>> These Debian packages are very good and very important but they aren't the
>> only way to use R, and are also sometimes stale plus there may be a Debian
>> repo lag. Lastly, here for this package: if I were the maintainer, I would
>> probably just try to patch mathjaxr out for the Debian package.
>
>If I understand that correctly that was what I suggested in an earlier
>part of the thread but Andreas felt that was not suitable. Just for the
>avoidance of doubt what I was proposing was to edit my macros.Rd file to
>redefine the mathjaxr macros as base Rd (d)eqn, make relevant changes in
>DESCRIPTION and NAMESPACE, build and check it and then send Andreas the
>tar.gz
>
>I have not tested that but I cannot see any reason why it would not
>work. I do realise I may come to regret writing that.
>
>>
>> Dirk
>>
>
>--
>Michael
>http://www.dewey.myzen.co.uk/home.html

Reply to: