[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/135: gnu: r-shinydashboard: Update to 0.7.2.
From: |
guix-commits |
Subject: |
07/135: gnu: r-shinydashboard: Update to 0.7.2. |
Date: |
Wed, 3 Nov 2021 17:59:36 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d4c9449f121dab6239d64befc16ce083935fe8f6
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Nov 1 17:52:15 2021 +0000
gnu: r-shinydashboard: Update to 0.7.2.
* gnu/packages/cran.scm (r-shinydashboard): Update to 0.7.2.
[native-inputs]: Remove node-uglify-js; add esbuild.
[arguments]: Remove modules; use esbuild in build phase
'generate-minified-javascript.
---
gnu/packages/cran.scm | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6ac81d7..0d77936 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2262,36 +2262,35 @@ supports interactive trees, to enable rich, editable
trees in Shiny.")
(define-public r-shinydashboard
(package
(name "r-shinydashboard")
- (version "0.7.1")
+ (version "0.7.2")
(source (origin
(method url-fetch)
(uri (cran-uri "shinydashboard" version))
(sha256
(base32
- "0khac8b27q3swdw07kl609hm0fjfjsjv591b388q99mqqr2rk92i"))))
+ "0hrqkwlpb8rnmp5j74p134g4c4cl16icmwc2ip6k1634fa2y8vm5"))))
(build-system r-build-system)
;; The directory inst/AdminLTE/ contains a minified JavaScript file.
;; Regenerate it from the included sources.
(arguments
- `(#:modules ((guix build utils)
- (guix build r-build-system)
- (ice-9 popen))
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'generate-minified-javascript
(lambda _
(with-directory-excursion "inst/AdminLTE"
- (delete-file "app.min.js")
- (let ((minified (open-pipe* OPEN_READ "uglifyjs" "app.js")))
- (call-with-output-file "app.min.js"
- (lambda (port)
- (dump-port minified port))))))))))
+ (let ((target "app.min.js")
+ (source "app.js"))
+ (format #t "Processing ~a --> ~a~%"
+ source target)
+ (delete-file target)
+ (invoke "esbuild" source "--minify"
+ (string-append "--outfile=" target)))))))))
(propagated-inputs
`(("r-htmltools" ,r-htmltools)
("r-promises" ,r-promises)
("r-shiny" ,r-shiny)))
(native-inputs
- `(("uglifyjs" ,node-uglify-js)))
+ `(("esbuild" ,esbuild)))
(home-page "https://rstudio.github.io/shinydashboard/")
(synopsis "Create dashboards with shiny")
(description "This package provides an extension to the Shiny web
- 04/135: gnu: r-rvest: Update to 1.0.2., (continued)
- 04/135: gnu: r-rvest: Update to 1.0.2., guix-commits, 2021/11/03
- 06/135: gnu: r-bslib: Update to 0.3.1., guix-commits, 2021/11/03
- 13/135: gnu: r-mitml: Update to 0.4-3., guix-commits, 2021/11/03
- 22/135: gnu: r-heatmaply: Update to 1.3.0., guix-commits, 2021/11/03
- 24/135: gnu: r-rjags: Update to 4-12., guix-commits, 2021/11/03
- 17/135: gnu: r-seriation: Update to 1.3.1., guix-commits, 2021/11/03
- 26/135: gnu: r-entropy: Update to 1.3.1., guix-commits, 2021/11/03
- 27/135: gnu: r-insight: Update to 0.14.5., guix-commits, 2021/11/03
- 32/135: gnu: r-cmplot: Update to 3.7.0., guix-commits, 2021/11/03
- 05/135: gnu: r-htmltable: Update to 2.3.0., guix-commits, 2021/11/03
- 07/135: gnu: r-shinydashboard: Update to 0.7.2.,
guix-commits <=
- 10/135: gnu: r-fitdistrplus: Update to 1.1-6., guix-commits, 2021/11/03
- 12/135: gnu: r-recipes: Update to 0.1.17., guix-commits, 2021/11/03
- 11/135: gnu: r-rpostgresql: Update to 0.7-3., guix-commits, 2021/11/03
- 15/135: gnu: r-vcd: Update to 1.4-9., guix-commits, 2021/11/03
- 21/135: gnu: r-ifultools: Update to 2.0-23., guix-commits, 2021/11/03
- 25/135: gnu: r-rbibutils: Update to 2.2.4., guix-commits, 2021/11/03
- 23/135: gnu: r-rastervis: Update to 0.51.0., guix-commits, 2021/11/03
- 37/135: gnu: r-emmeans: Update to 1.7.0., guix-commits, 2021/11/03
- 28/135: gnu: r-flextable: Update to 0.6.9., guix-commits, 2021/11/03
- 42/135: gnu: r-effectsize: Update to 0.5., guix-commits, 2021/11/03