Re: [R-pkg-devel] Package with JS dependency

2025-02-24 Thread Dirk Eddelbuettel
On 24 February 2025 at 22:08, Viechtbauer, Wolfgang (NP) wrote: | Like Duncan's rgl package, the mathjaxr package (https://cran.r-project.org/package=mathjaxr) also contains JS code (for MathJax). And one of the requirements to get the package onto CRAN was that the source package had to conta

Re: [R-pkg-devel] Package with JS dependency

2025-02-24 Thread Viechtbauer, Wolfgang (NP)
e-devel On Behalf Of > Michael Chirico > Sent: Saturday, February 22, 2025 17:30 > To: Jon Harmon > Cc: R Package Development > Subject: Re: [R-pkg-devel] Package with JS dependency > > Ah, thanks for looking into it further, I was a but surprised myself. > Apologies for the

Re: [R-pkg-devel] Package with JS dependency

2025-02-22 Thread Michael Chirico
Ah, thanks for looking into it further, I was a but surprised myself. Apologies for the misstatement & added noise. Could be that GitHub just doesn't index the potentially huge files, I've come across that with my r-mailing-list-archive repo. On Sat, Feb 22, 2025, 8:20 AM Jon Harmon wrote: > Th

Re: [R-pkg-devel] Package with JS dependency

2025-02-22 Thread Jon Harmon
There are definitely packages with minified JS. I suspect this GitHub search policy is causing the empty search: "Vendored and generated code is excluded" Even with "is:generated" and/or "is:vendored", I can't get a search to find this, for example: https://github.com/cran/cookies/blob/eb72bda9273

Re: [R-pkg-devel] Package with JS dependency

2025-02-21 Thread Duncan Murdoch
On 2025-02-20 12:36 p.m., Brian Leonard wrote: Hello there, [TLDR: I'm curious to know the degree to which including a pure javascript program (via the V8 package) in an R package affects the potential of passing CRAN review] I'm working on implementing an R package to support users of the Ps

Re: [R-pkg-devel] Package with JS dependency

2025-02-21 Thread Michael Chirico
Here are 2,800 JavaScript files in CRAN packages: https://github.com/search?q=org%3Acran+path%3Amin.js+-path%3ALICENSE.txt&type=code You might have a look at those. To Duncan's point, note there are also 0 min.js files: https://github.com/search?q=org%3Acran+path%3Amin.js+-path%3ALICENSE.txt&typ