./www/R-htmlwidgets, HTML widgets for R

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.6.2, Package name: R-htmlwidgets-1.6.2, Maintainer: pkgsrc-users

A framework for creating HTML widgets that render in various contexts
including the R console, 'R Markdown' documents, and 'Shiny' web
applications.


Required to run:
[math/R] [textproc/R-yaml] [textproc/R-jsonlite] [textproc/R-htmltools]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2023-06-13 15:20:46 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(www/R-htmlwidgets) Updated 1.6.1 to 1.6.2

htmlwidgets 1.6.2
------------------------------------------------------

* Closed #452: `as.tag.htmlwidget()` now includes `...` in it's
  function signature (for compatibility with the `htmltools::as.tags`
  generic).
   2023-03-12 06:51:48 by Makoto Fujiwara | Files touched by this commit (2)
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)
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2021-09-11 03:49:06 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(www/R-htmlwidget) Updated 1.5.3 to 1.5.4

htmlwidgets 1.5.4
-------------------------------------------------------

* Closed #320: `getDependency()` no longer includes an absolute src path in its \ 
return value. (#384)
* Fixed #408: An error type-check did not work correctly because it was missing \ 
parentheses. (#409)
   2021-06-12 03:49:22 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(www/R-htmlwidgets) Updated 1.3 to 1.5.3

htmlwidgets 1.5.3
-------------------------------------------------------

### New features

* Added a `reportTheme` argument to `shinyWidgetOutput()`. If `TRUE`,
  CSS styles of the widget's output container are made available to
  `shiny::getCurrentOutputInfo()`, making it possible to provide
  'smart' styling defaults in a `renderWidget()` context. (#361)

* `shinyRenderWidget()` now has a `cacheHint` parameter, for use with
  Shiny's new `bindCache()` function. (#391)

* Support a new `PACKAGE::widget_html.WIDGETNAME` convention for
  defining custom widget HTML. This replaces the earlier
  `PACKAGE::WIDGETNAME_html` convention, which continues to work but
  may be deprecated at some point in the future. The goal for the new
  convention is to prevent accidentally matching functions that were
  never intended for this purpose. (Thanks, @thebioengineer!) (#376)

* Export the `JSEvals` function, allowing other packages to support
  `JS()` in non-widget contexts.

### Bug fixes

* `saveWidget()` now `file` argument now properly handles relative
  paths. (#299)

* Fixed an issue with passing named function declarations to `JS()`
  and `onRender()` (introduced by v1.4). (#356)

htmlwidgets 1.5.2
-------------------------------------------------------

* Emergency patch release to fix an issue with rendering htmlwidgets
  in flexdashboard. More generally, this change implies that any
  htmlwidget is printed via a knitr code chunk with multiple values
  for fig.width/fig.height, only the first value is used for the
  widget's sizing policy. (#387)

htmlwidgets 1.5.1
-------------------------------------------------------

* Fixed an issue with dynamically rendered widgets (i.e., using
  `shiny::uiOutput()` to render a widget) with any version of shiny
  prior to 1.4. This issue was introduced by htmlwidgets 1.5. (#351)

htmlwidgets 1.5
-----------------------------------------------------------------------

* Fixed an incompatibility with Shiny v1.4.0: due to Shiny upgrading
  from jQuery 1.x to 3.x, the timing of some initialization routines
  has changed. This caused some widget `renderValue` calls to occur at
  an earlier point in Shiny's initialization process than with earlier
  versions of Shiny. (#345)

htmlwidgets 1.4 (unreleased)
-----------------------------------------------------------------------

* JavaScript statements can now be passed along to `onRender()` and
  `JS()` (#329).
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html