pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/R-shiny (www/R-shiny) Updated 1.6.0 to 1.7.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6d16b4d90d8
branches:  trunk
changeset: 378177:c6d16b4d90d8
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Apr 30 01:49:59 2022 +0000

description:
(www/R-shiny) Updated 1.6.0 to 1.7.1

shiny 1.7.1
===========
## Bug Fixes

* Closed #3516: Fix regression in repeated calls to `appendTab()` when
  `navbarMenu()` is already present within a
  `tabsetPanel()`/`navbarPage()`. (#3518)

* Re-arranged conditions for testthat 1.0.0 compatibility. (#3512)

shiny 1.7.0
===========
## Full changelog
### Breaking changes

* The `format` and `locale` arguments to `sliderInput()` have been
  removed. They have been deprecated since 0.10.2.2 (released on
  2014-12-08).

* Closed #3403: `insertTab()`'s `position` parameter now defaults to
  `"after"` instead of `"before"`. This has the benefit of allowing us
  to fix a bug in positioning when `target = NULL`, but has the
  drawback of changing the default behavior when `target` is not
  `NULL`. (#3404)

### New features and improvements
* Bootstrap 5 support. (#3410 and rstudio/bslib#304)

  * As explained
    [here](https://rstudio.github.io/bslib/index.html#basic-usage), to
    opt-in to Bootstrap 5, provide `bslib::bs_theme(version = 5)` to a
    page layout function with a `theme` argument (e.g., `fluidPage()`,
    `navbarPage()`, etc).

* Closed #3322, #3313, #1823, #3321, #3320, #1928, and #2310: Various
  improvements to `navbarPage()`, `tabsetPanel()`, `tabPanel()`,
  `navbarMenu()`, etc. Also, these functions are now powered by the
  `{bslib}` package's new `nav()` API (consider using `{bslib}`'s API
  to create better looking and more fully featured navs). (#3388)

* All uses of `list(...)` have been replaced with
  `rlang::list2(...)`. This means that you can use trailing `,`
  without error and use rlang's `!!!` operator to "splice" a list of
  argument values into `...`. We think this'll be particularly useful
  for passing a list of `tabPanel()` to their consumers (i.e.,
  `tabsetPanel()`, `navbarPage()`, etc). For example, `tabs <-
  list(tabPanel("A", "a"), tabPanel("B", "b"));
  navbarPage(!!!tabs)`. (#3315 and #3328)

* `installExprFunction()` and `exprToFunction()` are now able to
  handle quosures when `quoted = TRUE`. So `render`-functions which
  call these functions (such as with `htmlwidgets`) can now understand
  quosures. Users can also use `rlang::inject()` to unquote a quosure
  for evaluation.  This also means that `render` function no longer
  need `env` and `quoted` parameters; that information can be embedded
  into a quosure which is then passed to the `render` function. Better
  documentation was added for how to create `render`
  functions. (#3472)

* `icon(lib="fontawesome")` is now powered by the `{fontawesome}`
  package, which will make it easier to use the latest FA icons in the
  future (by updating the `{fontawesome}` package). (#3302)

* Closed #3397: `renderPlot()` new uses `ggplot2::get_alt_text()` to inform an `alt` text default (for `{ggplot2}` plots). (#3398)

* `modalDialog()` gains support for `size = "xl"`. (#3410)

* Addressed #2521: Updated the list of TCP ports that will be rejected
  by default in runapp.R, adding 5060, 5061 and 6566. Added
  documentation describing the port range (3000:8000) and which ports
  are rejected. (#3456)

### Other improvements
* Shiny's core JavaScript code was converted to TypeScript. For the
  latest development information, please see the [README.md in
  `./srcts`](https://github.com/rstudio/shiny/tree/master/srcts). (#3296)

* Switched from `digest::digest()` to `rlang::hash()` for hashing. (#3264)

* Switched from internal `Stack` class to `fastmap::faststack()`, and
  used `fastmap::fastqueue()`. (#3176)

* Some long-deprecated functions and function parameters were
  removed. (#3137)

### Bug fixes
* Closed #3345: Shiny now correctly renders
  `htmltools::htmlDependency()`(s) with a `list()` of `script`
  attributes when used in a dynamic UI context. This fairly new
  `htmlDependency()` feature was added in `{htmltools}`
  v0.5.1. (#3395)

* Fixed [#2666](https://github.com/rstudio/shiny/issues/2666) and
  [#2670](https://github.com/rstudio/shiny/issues/2670):
  `nearPoints()` and `brushedPoints()` weren't properly account for
  missing values (#2666 was introduced in
  v1.4.0). ([#2668](https://github.com/rstudio/shiny/pull/2668))

* Closed #3374: `quoToFunction()` now works correctly with nested
  quosures; and as a result, quasi-quotation with rendering function
  (e.g., `renderPrint()`, `renderPlot()`, etc) now works as expected
  with nested quosures. (#3373)

* Exported `register_devmode_option()`. This method was described in
  the documentation for `devmode()` but was never exported. See
  `?devmode()` for more details on how to register Shiny Developer
  options using `register_devmode_option()`. (#3364)

* Closed #3484: In the RStudio IDE on Mac 11.5, selected checkboxes
  and radio buttons were not visible. (#3485)

### Library updates

* Closed #3286: Updated to Font-Awesome 5.15.2. (#3288)

* Updated to jQuery 3.6.0. (#3311)

diffstat:

 www/R-shiny/Makefile |  5 +++--
 www/R-shiny/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r b822b23ff663 -r c6d16b4d90d8 www/R-shiny/Makefile
--- a/www/R-shiny/Makefile      Sat Apr 30 01:40:42 2022 +0000
+++ b/www/R-shiny/Makefile      Sat Apr 30 01:49:59 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2021/06/09 14:11:06 mef Exp $
+# $NetBSD: Makefile,v 1.6 2022/04/30 01:49:59 mef Exp $
 
 R_PKGNAME=     shiny
-R_PKGVER=      1.6.0
+R_PKGVER=      1.7.1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -9,6 +9,7 @@
 LICENSE=       gnu-gpl-v3
 
 DEPENDS+=      R-crayon>=1.3.4:../../devel/R-crayon
+DEPENDS+=      R-fontawesome-[0-9]*:../../textproc/R-fontawesome
 DEPENDS+=      R-rlang>=0.4.0:../../devel/R-rlang
 DEPENDS+=      R-sourcetools>=0.1.7:../../lang/R-sourcetools
 DEPENDS+=      R-mime>=0.3:../../mail/R-mime
diff -r b822b23ff663 -r c6d16b4d90d8 www/R-shiny/distinfo
--- a/www/R-shiny/distinfo      Sat Apr 30 01:40:42 2022 +0000
+++ b/www/R-shiny/distinfo      Sat Apr 30 01:49:59 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:29:15 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/04/30 01:49:59 mef Exp $
 
-BLAKE2s (R/shiny_1.6.0.tar.gz) = 1f0d1955b3be9be5338e0a43c1e6fe3c6f28a43a3c11a5e1c03e97b6aa1fb1c3
-SHA512 (R/shiny_1.6.0.tar.gz) = 94d552f42eb3cec6fd1f84f58389aed63841f2494f15312b6df6600c5e0c3fdba0b4d945faa0e8e4f86d604a7e6c7a12b8eb48f555f9e697fb04ab5fc4ad2fc1
-Size (R/shiny_1.6.0.tar.gz) = 4170497 bytes
+BLAKE2s (R/shiny_1.7.1.tar.gz) = e671607c9b8bb7d61fe0844a23fa88d502fc5568de4d16dcf8a41c91aa381c32
+SHA512 (R/shiny_1.7.1.tar.gz) = bcbf90ad719097b299a2535b94a9fe97530e94c01b179bb71b233651e1b906a6b496607861e2c355433065abab15810082839f2e1443dc9738af940e5501f061
+Size (R/shiny_1.7.1.tar.gz) = 2963486 bytes



Home | Main Index | Thread Index | Old Index