./textproc/R-DT, Wrapper of the JavaScript Library DataTables

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


Branch: CURRENT, Version: 0.28, Package name: R-DT-0.28, Maintainer: pkgsrc-users

Data objects in R can be rendered as HTML tables using the JavaScript
library 'DataTables' (typically via R Markdown or Shiny). The
'DataTables' library has been included in this R package. The package
name 'DT' is an abbreviation of 'DataTables'.


Required to run:
[math/R] [devel/R-magrittr] [textproc/R-jsonlite] [textproc/R-htmltools] [www/R-htmlwidgets] [parallel/R-promises] [textproc/R-crosstalk]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2023-07-06 16:17:17 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
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).
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

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

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2021-09-22 01:20:53 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(textproc/R-DT) fix build +DEPENDS+= R-jquerylib
   2020-09-20 11:33:39 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(textproc/R-DT) Updated 0.11 to 0.15, NEWS.md unknown
   2020-02-01 03:54:55 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(textproc/R-DT) convert R-crosstalk from TEST_DEPENDS to DEPENDS
   2020-01-13 11:01:18 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
textproc/R-DT: import R-DT-0.11

Data objects in R can be rendered as HTML tables using the JavaScript
library 'DataTables' (typically via R Markdown or Shiny). The
'DataTables' library has been included in this R package. The package
name 'DT' is an abbreviation of 'DataTables'.