You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add formula support for split
* change terms dispatch
* fix grammer
* add info about upstream improvement
* move NEWS
* grammar
* cite PR author for already-merged PR
* Cite the base function we want to match
* Update man/split.Rd
Co-authored-by: Michael Chirico <michaelchirico4@gmail.com>
* add suggestions to tests
* remove new example
---------
Co-authored-by: Michael Chirico <michaelchirico4@gmail.com>
2.`cedta()`nowreturns`FALSE`if`.datatable.aware = FALSE`issetinthecallingenvironment, [#5654](https://github.com/Rdatatable/data.table/issues/5654). Thanks @dvg-p4 for the request and PR.
18
+
19
+
3.`split.data.table`alsoacceptsaformulafor`f`, [#5392](https://github.com/Rdatatable/data.table/issues/5392), mirroring the same in `base::split.data.frame` since R 4.1.0 (May 2021). Thanks to @XiangyunHuang for the request, and @ben-schwen for the PR.
18
20
19
21
3.Namespace-qualifying`data.table::shift()`, `data.table::first()`, or`data.table::last()`willnotdeactivateGForce, [#5942](https://github.com/Rdatatable/data.table/issues/5942). Thanks @MichaelChirico for the proposal and fix. Namespace-qualifying other calls like `stats::sum()`, `base::prod()`, etc., continue to work as an escape valve to avoid GForce, e.g. to ensure S3 method dispatch.
stopf("passing 'f' argument together with 'by' is not allowed, use 'by' when split by column in data.table and 'f' when split by external factor")
2403
2403
# same as split.data.frame - handling all exceptions, factor orders etc, in a single stream of processing was a nightmare in factor and drop consistency
2404
+
# evaluate formula mirroring split.data.frame #5392. Mimics base::.formula2varlist.
0 commit comments