pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/R-DT



Module Name:    pkgsrc
Committed By:   mef
Date:           Thu Jul  6 14:17:17 UTC 2023

Modified Files:
        pkgsrc/textproc/R-DT: Makefile distinfo

Log Message:
(textproc/R-DT) Updated 0.19 to 0.28

(w3m -dump -T text https://github.com/rstudio/DT/releases/tag/v0.$i > 0.$i)
v0.28

  * Upgraded DataTables to v1.13.4 (thanks, @stla, #1063).

  * It is now possible to edit date columns with the help of calendar inputs
    (thanks, @stla, #1064).

v0.27

  * dataTableOutput() gains 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). (#2198)

      + The primary motivation for this is to allow DT to grow/shrink inside
        bslib::card_body_fill(). When doing so, you'll also want to set
        fillContainer = TRUE in datatable().
  * Bug fixed: when editing a table, it was impossible to switch from an empty
    cell to 0 and vice-versa (thanks, @RozennGZ #1038, @stla #1039).

  * When a datatable() is created outside a Shiny app, the selection argument
    won't work (thanks, @bartekch, #1043).

  * doGloblSearch() now works correctly when the input data frame is a tibble (
    @mikmart, #1044).

v0.26

  * Upgraded DataTables to v1.12.1.

  * New extension StateRestore. It allows to save and restore DataTables
    states.

  * Default to width: 100%; height: auto instead of 500px x 960px when
    statically rendering in browser (thanks, @cpsievert, #1022).

v0.25

  * Server-side filtering is now able to be ran as a future via the promises
    package (@andyquinterom, #1011). See the argument future on the help page ?
    DT::renderDataTable for more info.

  * Updated the jszip library to v3.10.1 (thanks, @hedsnz, #1017).

v0.24

  * Fixed a bug with missing numeric values rendered as 0 (thanks, @tverbeke, #
    1000).

  * Box scalar elements of 'list' columns so that, e.g., data.frame(col = I
    (integer(), 1, 2:3)) is represented in JavaScript as [[], [1], [2, 3]]
    instead of [[], 1, [2, 3]] (thanks, @mtmorgan, #1005).

v0.23

  * Make sure number inputs return numeric values when editing numeric table
    cells (thanks, @stla, #987).

v0.22

  * Enhancements to updateFilters() (#971):

      + Added support for data with integer and character columns (@mikmart #
        972).
      + Fixed an issue with length 1 options causing filters not to update (
        @mikmart #973).
      + Fixed an issue with slider limits sometimes being incorrectly scaled (
        @mikmart #974).
      + Updates to factor and logical filters now match the initial render (
        @mikmart #975).
      + Disabled status is now also affected by updates (@mikmart #977).
  * New functions doColumnSearch() and doGlobalSearch() let you do server-side
    searching with filter search strings. These are particularly useful in
    conjunction with updateFilters() for implementing dynamic limits for filter
    controls based on currently filtered data (@mikmart #982).

  * Server-side searching is now faster when multiple filters are active (
    @mikmart).

  * Fix a bug that the column filter didn't work for strings like "+" (
    @stephan-hutter @shrektan #980).

v0.21

NEW FEATURES

  * Add the zero.print argument to formatPercentage(), formatCurrency(),
    formatSignif() and formatRound(), which allows to control the format of
    zero values. It's useful when the data is "sparse" (thanks, @shrektan #953
    ).

  * formatXXX() functions now gain a new argument rows (starting from 1), which
    can be used to specify the rows that the "style" should be applied to. Note
    that it only works expected in the client-side processing mode, i.e.,
    server = FALSE. formatStyle() is the only exception that doesn't have this
    argument and should use styleRow() instead (thanks, @jrecasens @shrektan #
    520).

  * Added a new function updateFilters to allow users to update the filters of
    a DataTable object that has been updated by reference, such as with
    replaceData() (thanks, @giadasp #934, @wholmes105 #939).

MAJOR CHANGES

  * Now users can provide column names of the data to
    options$columnDefs$targets. Previously, it only supports column indexes or
    "_all" (thanks, @shrektan #948).

MINOR CHANGES

  * styleRow() and styleEqual() now allows a scalar values argument like other
    R functions, e.g., styleRow(1:5, 'abcd') is the same as styleRow(1:5, rep
    ('abcd', 5)). It throws error that the length(rows) must be equal to length
    (values) in the previous version (thanks, @shrektan #955).

BUG FIXES

  * Fix the bug that addRow() doesn't support a list of data after R 3.4.0,
    where structure(NULL, ...) was deprecated (thanks, @stla @shrektan #959).

  * Fix the bug that DT table can't vertically fill the container, e.g.,
    RStudio IDE or FlexDashboard (thanks, @mbojan @shrektan #951).

  * Fix the bug that DT failed to parse ajax request correctly, when special
    strings like "=" exist (thanks, @shrektan #965).

v0.20

MAJOR CHANGES

  * Upgraded the DataTables library to v1.11.3 (thanks, @shrektan #942,
    @michaelquinn32 #940).


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/R-DT/Makefile \
    pkgsrc/textproc/R-DT/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/R-DT/Makefile
diff -u pkgsrc/textproc/R-DT/Makefile:1.5 pkgsrc/textproc/R-DT/Makefile:1.6
--- pkgsrc/textproc/R-DT/Makefile:1.5   Tue Sep 21 23:20:53 2021
+++ pkgsrc/textproc/R-DT/Makefile       Thu Jul  6 14:17:17 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2021/09/21 23:20:53 mef Exp $
+# $NetBSD: Makefile,v 1.6 2023/07/06 14:17:17 mef Exp $
 
 R_PKGNAME=     DT
-R_PKGVER=      0.19
+R_PKGVER=      0.28
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/textproc/R-DT/distinfo
diff -u pkgsrc/textproc/R-DT/distinfo:1.5 pkgsrc/textproc/R-DT/distinfo:1.6
--- pkgsrc/textproc/R-DT/distinfo:1.5   Tue Oct 26 11:21:29 2021
+++ pkgsrc/textproc/R-DT/distinfo       Thu Jul  6 14:17:17 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:21:29 nia Exp $
+$NetBSD: distinfo,v 1.6 2023/07/06 14:17:17 mef Exp $
 
-BLAKE2s (R/DT_0.19.tar.gz) = 23e61ac80e4c1129e585554104d42ef4b6e371581b9f603bd85870c54187ee6d
-SHA512 (R/DT_0.19.tar.gz) = 9f3ae844aff34b432bd61d258c28f954dafab28565522b2e7006b3e0df2793562ce49dd52388c2666a0174dc62cddbf998582f5472db52d1699cf7ddb6b9453f
-Size (R/DT_0.19.tar.gz) = 1545669 bytes
+BLAKE2s (R/DT_0.28.tar.gz) = ac85b63bc94925237bb434818c1f5cc3ea1039e5bd7dfc70fde3401c56631a5f
+SHA512 (R/DT_0.28.tar.gz) = 99b3e33ca1e106f99987dcd66bcffbfb9491a60008b653a1d8e581107c0f6eaa126d16c0a993bb022f37b09c568c03b8c9713f50c2935928e13e5ff349263fe3
+Size (R/DT_0.28.tar.gz) = 1469928 bytes



Home | Main Index | Thread Index | Old Index