r-rmarkdown contains minified JavaScript

OpenSubmitted by Ricardo Wurmus.
Details
2 participants
  • (
  • Ricardo Wurmus
Owner
unassigned
Severity
normal
R
R
Ricardo Wurmus wrote on 9 Aug 22:38 +0200
(address . bug-guix@gnu.org)
87lerxup5y.fsf@elephly.net
r-rmarkdown contains a lot of minified JavaScript. It is not
immediately obvious, where the corresponding source code could be found:

Toggle snippet (18 lines)
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/prettify/prettify.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/prettify/lang-yaml.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/require-1.0.8.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/polyfills/history.min.js: exported SGML document, ASCII text, with very long lines, with no line terminators
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/polyfills/classList.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/polyfills/dataset.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/order.js: ASCII text, with very long lines
rmarkdown/inst/rmd/ioslides/ioslides-13.5.1/js/modernizr.custom.45394.js: HTML document, ASCII text, with very long lines
rmarkdown/inst/rmd/h/tocify/jquery.tocify.js: ASCII text, with very long lines
rmarkdown/inst/rmd/h/jqueryui/jquery-ui.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/h/jqueryui/jquery-ui.js: ASCII text, with very long lines
rmarkdown/inst/rmd/h/bootstrap/shim/respond.min.js: HTML document, ASCII text, with very long lines
rmarkdown/inst/rmd/h/bootstrap/shim/html5shiv.min.js: HTML document, ASCII text, with very long lines
rmarkdown/inst/rmd/h/bootstrap/js/bootstrap.min.js: ASCII text, with very long lines
rmarkdown/inst/rmd/h/highlightjs/highlight.js: UTF-8 Unicode text, with very long lines


--
Ricardo
(
CM1SLD7C1PF2.2JLMERUU6YQ46@guix-aspire
On Tue Aug 9, 2022 at 9:38 PM BST, Ricardo Wurmus wrote:
Toggle quote (3 lines)
> It is not immediately obvious, where the corresponding source code could be
> found:

They seem to come from various NPM packages; looks like these ones:


We could try to package them and then unvendor them from r-markdown,
but given the horrific state of JS packaging, we'd better expect a
tedious process.

-- (
?