pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/R-htmlwidgets
Module Name: pkgsrc
Committed By: mef
Date: Sun Mar 12 05:51:48 UTC 2023
Modified Files:
pkgsrc/www/R-htmlwidgets: Makefile distinfo
Log Message:
(www/R-htmlwidgets) Updated 1.5.4 to 1.6.1
htmlwidgets 1.6.1
------------------------------------------------------
### Bug fixes
* Closed #456: Fixed an issue where widgets were no longer being
resized properly when rendered in a standalone fashion. (#458)
htmlwidgets 1.6.0
-------------------------------------------------------
### Potentially breaking changes
* `shinyWidgetOutput()` and `sizingPolicy()` both gain a new `fill`
parameter. When `TRUE` (the default), the widget's container element
is allowed to grow/shrink to fit it's parent container so long as
that parent is opinionated about its height and has been marked with
`htmltools::bindFillRole(x, container = TRUE)`. (#442)
* The primary motivation for this is to allow widgets to grow/shrink
by default [inside
`bslib::card_body_fill()`](https://rstudio.github.io/bslib/articles/cards.html#responsive-sizing)
* Widgets that aren't designed to fill their container in this way
should consider setting `sizingPolicy(fill =
FALSE)`/`shinyWidgetOutput(fill = FALSE)` and/or allowing users to
customize these settings (i.e., add a `fill` argument to the
`customWidgetOutput()` function signature).
* `shinyWidgetOutput()`'s `reportSize` argument now defaults to
`TRUE`. This way, calling `shiny::getCurrentOutputInfo()` inside a
`shinyRenderWidget()` context will report the current height and
width of the widget.
### Improvements
* Closed #433 and #440: `saveWidget(selfcontained=TRUE)` now uses the
`{rmarkdown}` package to discover and call pandoc, which fixes a
couple existing issues and helps "future proof" this code path from
future changes to pandoc.
* Closed #257 and #358: `saveWidget(selfcontained=TRUE)` now correctly
prevents HTML from being interpreted as markdown. (#401)
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/R-htmlwidgets/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/R-htmlwidgets/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/R-htmlwidgets/Makefile
diff -u pkgsrc/www/R-htmlwidgets/Makefile:1.4 pkgsrc/www/R-htmlwidgets/Makefile:1.5
--- pkgsrc/www/R-htmlwidgets/Makefile:1.4 Sat Sep 11 01:49:06 2021
+++ pkgsrc/www/R-htmlwidgets/Makefile Sun Mar 12 05:51:48 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2021/09/11 01:49:06 mef Exp $
+# $NetBSD: Makefile,v 1.5 2023/03/12 05:51:48 mef Exp $
R_PKGNAME= htmlwidgets
-R_PKGVER= 1.5.4
+R_PKGVER= 1.6.1
CATEGORIES= www
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -11,9 +11,10 @@ LICENSE= mit
DEPENDS+= R-htmltools>=0.3:../../textproc/R-htmltools
DEPENDS+= R-jsonlite>=0.9.16:../../textproc/R-jsonlite
DEPENDS+= R-yaml>=2.2.0:../../textproc/R-yaml
+DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
-TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+TEST_DEPENDS+= R-markdown>=1.3:../../textproc/R-markdown
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
USE_LANGUAGES= # none
Index: pkgsrc/www/R-htmlwidgets/distinfo
diff -u pkgsrc/www/R-htmlwidgets/distinfo:1.5 pkgsrc/www/R-htmlwidgets/distinfo:1.6
--- pkgsrc/www/R-htmlwidgets/distinfo:1.5 Tue Oct 26 11:29:14 2021
+++ pkgsrc/www/R-htmlwidgets/distinfo Sun Mar 12 05:51:48 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:29:14 nia Exp $
+$NetBSD: distinfo,v 1.6 2023/03/12 05:51:48 mef Exp $
-BLAKE2s (R/htmlwidgets_1.5.4.tar.gz) = 4260b0db3694eca45fc1823dc6352bdc7f6efccf18016386ba0ae80b54b14842
-SHA512 (R/htmlwidgets_1.5.4.tar.gz) = 80f647dd3c71497a2dc2fc7d9ff7c743912cdd3678f02e4b320623a7b16aebebfa4d782aedd2eeb1b9d3fd172e6d322da9b7ae0ca52b4c8155a1c6e907be329d
-Size (R/htmlwidgets_1.5.4.tar.gz) = 956850 bytes
+BLAKE2s (R/htmlwidgets_1.6.1.tar.gz) = 7ff25cf22fe004c2ed241298913eb089225e5eee0c273c2e9a1f8b1d25ae61aa
+SHA512 (R/htmlwidgets_1.6.1.tar.gz) = ac1a174e1e2abd0d0cd704f2e6d5ee8a831867cac677ac201a652b24ad6eeba448602864b86d0a14eca22cc40c01868bf71e3cab741feadfcab90178b27d0ddd
+Size (R/htmlwidgets_1.6.1.tar.gz) = 868433 bytes
Home |
Main Index |
Thread Index |
Old Index