pkgsrc/textproc/R-DT/Makefile

25 lines
755 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2021/09/21 23:20:53 mef Exp $
R_PKGNAME= DT
(textproc/R-DT) Updated 0.15 to 0.19 (from: https://github.com/rstudio/DT/releases/tag/v0.19 etc) DT 0.19 NEW FEATUERS * Add vertical and opacity option to filter which applies to the noUiSliders. This is useful with limited width DataTables to prevent x overflow (thanks, @alexvpickering, #919). * Now the user is able to restrict the editing to accept only numbers by, e.g., datatable(..., editable = list(target = "cell", numeric = 3:5)). By default, the editing is restricted to numbers for all numeric columns; set numeric = "none" to disable this behavior (thanks, @stla, #860 #824). * Now the user can request text areas for the editing by, e.g., datatable (..., editable = list(target = "cell", area = 1:2)). Text areas are useful for cells with large contents (thanks, @stla #860, @fabiangehring #671). MAJOR CHANGES * Upgraded jQuery from v1.12.4 to v3.x imported from the jquerylib R package. DT 0.18 NEW FEATURES * 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). * Add a new function styleRow(). It's useful when you want to apply CSS styles based on Row Indexes (thanks, @s-fleck, #894). BUG FIXES * datatable(data) and datatable(data, fillContainer = TRUE) now work as expected when statically rendered inside flexdashboard::flex_dashboard() (thanks, @cpsievert, #904). DT 0.17 NEW FEATURES * Support the new datatables' extension SearchBuilder. With this new extension, users can construct a complex search query by adding groups and conditions. Note, as the time of writing, this extension only works on the client-side processing mode (thanks, @stla, #875) * Add a new plugin diacritics-neutralise, which can be used for searching accented, non-Latin characters with their unaccented counterparts. Note, it will only work in the client-side processing mode (thanks, @tyler-richardett, #887). MINOR CHANGES * 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). * When editing factor columns, editData() now automatically updates the factor levels if it's necessary (thanks, @aman-malik3010, #865). BUG FIXES * Fix the issue that addRow() would fail when the proxy DT table contains no data (e.g., a zero-row data.frame) (thanks, @chalioui, #888). * DT no longer overrides the options$responsive to TRUE. Thus, it enables users to provide customized options for the Responsive extension (thanks, @hdrab127, #885). DT 0.16 NEW FEATURES * Add a new plugin accent-neutralise, which can be used for searching accented characters with their unaccented counterparts. Note, it will only work in the client-side processing mode (#822). * addRow() now has a new parameter resetPaging. By setting it to FALSE, we can keep the paging position after adding a row (thanks, @stanstrup, #853). MINOR CHANGES * Upgrade the SearchPanes extension to v1.1.1 so that it can display all the entries properly with the Scroller extension (thanks, @JonasMandel @stla, # 820). * The class argument now keeps user-defined classes with bootstrap themes (thanks, @mmuurr, #806). * Now DT will throw a clear error message if the value of search provided in datatables(..., options=) is illegal (thanks, @realHenningLorenzen, #848). BUG FIXES * Fix the issue that the sorting results may not be expected after formatting functions applied. This is a regression of PR #777 (thanks, @fernandofernandezgonzalez @shrektan, #837). * styleColorBar() now displays correctly on Safari, when the data is greater than the upper limit, due to negative css percentage values (thanks, @Seyphaton, #843).
2021-09-04 14:34:42 +02:00
R_PKGVER= 0.19
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Wrapper of the JavaScript Library 'DataTables'
LICENSE= gnu-gpl-v3
DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr
DEPENDS+= R-promises>=1.0.1:../../parallel/R-promises
DEPENDS+= R-htmltools>=0.3.6:../../textproc/R-htmltools
DEPENDS+= R-jsonlite>=0.9.16:../../textproc/R-jsonlite
DEPENDS+= R-htmlwidgets>=1.3:../../www/R-htmlwidgets
DEPENDS+= R-crosstalk-[0-9]*:../../textproc/R-crosstalk
DEPENDS+= R-jquerylib-[0-9]*:../../www/R-jquerylib
TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
USE_LANGUAGES= # none
.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"