Hi,

Thanks for the report.

IIUC, the package uglify-js from gnu/packages/lisp-xyz was previously
used to minify and now replaced by the new uglifyjs package from the new
gnu/packages/uglifyjs.  Then something is incompatible.

I propose to revert to the Lisp JavaScript compressor instead of the
Node one.  JS people, WDYT?


On jeu., 09 sept. 2021 at 12:35, Todor Kondić <tk.c...@protonmail.com> wrote:

> ```r
> library(ggplot2)
> library(shiny)
>
>
> app <- shinyApp(
>     ui = bootstrapPage(
>         numericInput('n', 'Number of obs', 100),
>         plotOutput('plot')
>     ),
>     server = function(input, output) {
>         output$plot <- renderPlot({ hist(runif(input$n)) })
>     }
> )
>
>
> # Will show a warning, because the browser is not in the manifest, but
> # it it will serve the application on a listed port, which means it
> # can be accessed by a browser external to the environment.
> options(browser="itdoesnotmatter")
> shiny::runApp(app)
>
> ```

Using the R script above, and running:

        guix time-machine --commit=<commit>
             -- environment --ad-hoc r r-shiny r-ggplot2
             -- R -e 'source("script.r")'

to bisect, the commit introducing a regression is:

--8<---------------cut here---------------start------------->8---
commit 385c485c651c0b1a467bdbbf31fa723dc4cabd9e
Author: Charles <charles.b.jack...@protonmail.com>
Date:   Mon Jul 12 22:50:44 2021 -0500
    build: Update uglifyjs for minify-build-system.

    * guix/build-system/minify.scm (default-uglify-js): Update uglifyjs package 
used.
    * guix/build/minify-build-system.scm (minify): Use updated uglifyjs command 
name.

    Signed-off-by: Efraim Flashner <efr...@flashner.co.il>
 guix/build-system/minify.scm       | 4 ++--
 guix/build/minify-build-system.scm | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
--8<---------------cut here---------------end--------------->8---

with the Bisect Log (14):

        816d52ba93 bad gnu: Add r-megadepth.
        29745d23b8 good gnu: Use define-public in (gnu packages xiph).
        aa6e6fb2e9 good gnu: Add ytfzf.
        c8bcef2598 bad gnu: sameboy: Update to 0.14.4.
        d84c24935b bad gnu: icedove: Update to 78.12.0 [security fixes].
        026bd0b219 good gnu: r-matrixcalc: Update to 1.0-4.
        7da8f66e52 good gnu: password-store: Fix passmenu paths substitution.
        a49c5488bd good gnu: Add putty.
        b019496fc3 good pack/deb: Add default section and priority fields to 
the control file.
        bfa847dbe0 good gnu: Add node-acorn.
        3436d3f801 bad gnu: Add emacs-zmq.
        4cda5a4dab bad gnu: git-annex: Update to 8.20210714.
        385c485c65 bad build: Update uglifyjs for minify-build-system.
        d16148fcfd good gnu: Add node-uglify-js.
        385c485c651c0b1a467bdbbf31fa723dc4cabd9e is the first bad commit


Cheers,
simon



Reply via email to