Skip to content

Commit cba6542

Browse files
authored
v0.34.0 (#1178)
* chore: Update maintainer Fixes #1173 * chore: use_tidy_description() * chore: use_roxygen_md() * chore: document * chore: use_build_ignore("_dev") * chore: url_update() * chore: polish news * Increment version number to 0.34.0 * chore: revdepcheck() * chore: update cran comments * chore: use my posit email
1 parent 9a30585 commit cba6542

25 files changed

+810
-446
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@
88
^README\.md$
99
^cran-comments\.md$
1010
^LICENSE\.md$
11+
^_dev$
12+
^revdep$

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ rsconnect/
77
large.txt
88
inst/examples/random.R
99
.*.Rnb.cached
10-
revdep/
1110
.DS_Store
1211
download/

DESCRIPTION

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,58 @@
1-
Package: DT
21
Type: Package
2+
Package: DT
33
Title: A Wrapper of the JavaScript Library 'DataTables'
4-
Version: 0.33.3
4+
Version: 0.34.0
55
Authors@R: c(
66
person("Yihui", "Xie", role = "aut"),
7-
person("Joe", "Cheng", email = "[email protected]", role = c("aut", "cre")),
7+
person("Joe", "Cheng", , "[email protected]", role = "aut"),
88
person("Xianying", "Tan", role = "aut"),
9+
person("Garrick", "Aden-Buie", , "[email protected]", role = c("aut", "cre"),
10+
comment = c(ORCID = "0000-0002-7111-0077")),
911
person("JJ", "Allaire", role = "ctb"),
1012
person("Maximilian", "Girlich", role = "ctb"),
1113
person("Greg", "Freedman Ellis", role = "ctb"),
1214
person("Johannes", "Rauh", role = "ctb"),
13-
person("SpryMedia Limited", role = c("ctb", "cph"), comment = "DataTables in htmlwidgets/lib"),
14-
person("Brian", "Reavis", role = c("ctb", "cph"), comment = "selectize.js in htmlwidgets/lib"),
15-
person("Leon", "Gersen", role = c("ctb", "cph"), comment = "noUiSlider in htmlwidgets/lib"),
16-
person("Bartek", "Szopka", role = c("ctb", "cph"), comment = "jquery.highlight.js in htmlwidgets/lib"),
17-
person("Alex", "Pickering", role = c("ctb")),
18-
person("William", "Holmes", role = c("ctb")),
19-
person("Mikko", "Marttila", role = c("ctb")),
20-
person("Andres", "Quintero", role = c("ctb")),
21-
person("Stéphane", "Laurent", role = c("ctb")),
22-
person(given = "Posit Software, PBC", role = c("cph", "fnd"))
23-
)
15+
person("SpryMedia Limited", role = c("ctb", "cph"),
16+
comment = "DataTables in htmlwidgets/lib"),
17+
person("Brian", "Reavis", role = c("ctb", "cph"),
18+
comment = "selectize.js in htmlwidgets/lib"),
19+
person("Leon", "Gersen", role = c("ctb", "cph"),
20+
comment = "noUiSlider in htmlwidgets/lib"),
21+
person("Bartek", "Szopka", role = c("ctb", "cph"),
22+
comment = "jquery.highlight.js in htmlwidgets/lib"),
23+
person("Alex", "Pickering", role = "ctb"),
24+
person("William", "Holmes", role = "ctb"),
25+
person("Mikko", "Marttila", role = "ctb"),
26+
person("Andres", "Quintero", role = "ctb"),
27+
person("Stéphane", "Laurent", role = "ctb"),
28+
person("Posit Software, PBC", role = c("cph", "fnd"))
29+
)
2430
Description: Data objects in R can be rendered as HTML tables using the
25-
JavaScript library 'DataTables' (typically via R Markdown or Shiny). The
26-
'DataTables' library has been included in this R package. The package name
27-
'DT' is an abbreviation of 'DataTables'.
31+
JavaScript library 'DataTables' (typically via R Markdown or Shiny).
32+
The 'DataTables' library has been included in this R package. The
33+
package name 'DT' is an abbreviation of 'DataTables'.
34+
License: MIT + file LICENSE
2835
URL: https://github.com/rstudio/DT
2936
BugReports: https://github.com/rstudio/DT/issues
30-
License: MIT + file LICENSE
3137
Imports:
38+
crosstalk,
3239
htmltools (>= 0.3.6),
3340
htmlwidgets (>= 1.3),
41+
jquerylib,
3442
jsonlite (>= 0.9.16),
3543
magrittr,
36-
crosstalk,
37-
jquerylib,
3844
promises
3945
Suggests:
46+
bslib,
47+
future,
48+
httpuv,
4049
knitr (>= 1.8),
4150
rmarkdown,
4251
shiny (>= 1.6),
43-
httpuv,
44-
bslib,
45-
future,
4652
testit,
4753
tibble
48-
VignetteBuilder: knitr
49-
RoxygenNote: 7.3.1
54+
VignetteBuilder:
55+
knitr
5056
Encoding: UTF-8
57+
RoxygenNote: 7.3.2
58+
Roxygen: list(markdown = TRUE)

NEWS.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CHANGES IN DT VERSION 0.34
22

3+
- DT is now released under the MIT license (previously GPL-3) (#1175).
4+
35
- Added `lazyRender` parameter to `DT::datatable()`, which gives the option for the table to be rendered immediately rather than waiting for it to become visible (thanks, @Mosk915, #1156).
46

57
- Moved **httpuv** from `Imports` to `Suggests` in `DESCRIPTION` (thanks, @MichaelChirico, #1159).
@@ -8,7 +10,7 @@
810

911
- Added `outputArgs` parameter to `renderDataTable`, to allow width and height to be set when using interactive R Markdown documents.
1012

11-
- Fixed a bug in `renderDT()`'s evaluation of `...` arguments when `quoted = TRUE` (#1130).
13+
- Fixed a bug in `renderDT()`'s evaluation of `...` arguments when `quoted = TRUE` (#1130).
1214

1315
- Maintain selected columns/rows/cells upon re-render (thanks, @epruesse, #1125).
1416

@@ -71,7 +73,7 @@
7173
- `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)
7274

7375
- The primary motivation for this is to allow DT to grow/shrink [inside `bslib::card_body_fill()`](https://rstudio.github.io/bslib/articles/cards.html#responsive-sizing). When doing so, you'll also want to set `fillContainer = TRUE` in `datatable()`.
74-
76+
7577
- 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).
7678

7779
- When a `datatable()` is created outside a Shiny app, the `selection` argument won't work (thanks, @bartekch, #1043).
@@ -169,7 +171,7 @@
169171

170172
- `datatable()`'s `style` argument now defaults to `'auto'`, which resolves to either `'bootstrap'` or `'bootstrap4'` when a `{bslib}` theme is relevant. If a `{bslib}` theme isn't relevant, `'auto'` resolves to the old default value of `'default'` (thanks, @cpsievert, #852).
171173

172-
- Add a new function `styleRow()`. It's useful when you want to apply CSS styles based on Row Indexes (thanks, @s-fleck, #894).
174+
- Add a new function `styleRow()`. It's useful when you want to apply CSS styles based on Row Indexes (thanks, @s-fleck, #894).
173175
174176
## BUG FIXES
175177
@@ -185,7 +187,7 @@
185187

186188
## MINOR CHANGES
187189

188-
- The `autoHideNavigation` argument now works with the default theme. In addition, the prerequisite is properly documented. Specifically speaking, it only works when the `pageLength` option is provided and is rendered in the client-side processing mode (thanks, @bhogan-mitre, #856).
190+
- The `autoHideNavigation` argument now works with the default theme. In addition, the prerequisite is properly documented. Specifically speaking, it only works when the `pageLength` option is provided and is rendered in the client-side processing mode (thanks, @bhogan-mitre, #856).
189191

190192
- When editing factor columns, `editData()` now automatically updates the factor levels if it's necessary (thanks, @aman-malik3010, #865).
191193
@@ -274,9 +276,9 @@
274276
275277
- Support the Select extension on the client-side processing mode (thanks, @shrektan, #744).
276278
277-
- Support [features/scrollResize plug-in](https://datatables.net/blog/2017-12-31) (thanks, @andrewkho @shrektan, #467 #754).
279+
- Support [features/scrollResize plug-in](https://datatables.net/blog/2017/vertical-scroll-fitting) (thanks, @andrewkho @shrektan, #467 #754).
278280
279-
- Upgrade DataTables to 1.10.20 and support the new datatables extension [SearchPanes](https://datatables.net/blog/2020-01-13) (thanks, @shrektan, #756).
281+
- Upgrade DataTables to 1.10.20 and support the new datatables extension [SearchPanes](https://datatables.net/blog/2020/searchpanes) (thanks, @shrektan, #756).
280282
281283
## BUG FIXES
282284

0 commit comments

Comments
 (0)