Skip to content

Conversation

@MichaelChirico
Copy link
Member

Closes #5331

@codecov
Copy link

codecov bot commented Feb 28, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (64e2041) 97.48% compared to head (31f7fff) 97.48%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5342   +/-   ##
=======================================
  Coverage   97.48%   97.48%           
=======================================
  Files          80       80           
  Lines       14862    14862           
=======================================
  Hits        14488    14488           
  Misses        374      374           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

NEWS.md Outdated
15. Thanks to @ssh352, Václav Tlapák, Cole Miller, András Svraka and Toby Dylan Hocking for reporting and bisecting a significant performance regression in dev. This was fixed before release thanks to a PR by Jan Gorecki, [#5463](https://github.com/Rdatatable/data.table/pull/5463).
17. Some clarity is added to `?GForce` for the case when subtle changes to `j` produce different results because of differences in locale. Because `data.table` _always_ uses the "C" locale, small changes to queries which activate/deactivate GForce might cause confusingly different results when sorting is involved, [#5331](https://github.com/Rdatatable/data.table/issues/5331). The inspirational example compared `DT[, .(max(a), max(b)), by=grp]` and `DT[, .(max(a), max(tolower(b))), by=grp]` -- in the latter case, GForce is deactivated owing to the _ad-hoc_ column, so the result for `max(a)` might differ for the two queries. An example is added to `?GForce`. As always, there are several options to guarantee consistency, for example (1) use namespace qualification to deactivate GForce: `DT[, .(base::max(a), base::max(b)), by=grp]` or (2) turn off GForce with `options(datatable.optimize = 0)`. Thanks @markseeto for the example and @michaelchirico for the improved documentation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a great news item

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another option worth to mention is setting up locale to C

MichaelChirico and others added 6 commits December 14, 2023 18:46
* Fix 5492 by limiting the costly deparse to `nlines=1`

* Implementing PR feedbacks

* Added  inside

* Fix typo in name

* Idiomatic use of  inside

* Separating the deparse line limit to a different PR

---------

Co-authored-by: Michael Chirico <[email protected]>
* Added my improvements to the intro vignette

* Removed two lines I added extra as a mistake earlier

* Requested changes
* fix typos and grammatical mistakes

* fix typos and punctuation

* remove double spaces where it wasn't necessary

* fix typos and adhere to British English spelling

* fix typos

* fix typos

* add missing closing bracket

* fix typos

* review fixes

* Update vignettes/datatable-benchmarking.Rmd

Co-authored-by: Michael Chirico <[email protected]>

* Update vignettes/datatable-benchmarking.Rmd

Co-authored-by: Michael Chirico <[email protected]>

* Apply suggestions from code review benchmarking

Co-authored-by: Michael Chirico <[email protected]>

* remove unnecessary [ ] from datatable-keys-fast-subset.Rmd

* Update vignettes/datatable-programming.Rmd

Co-authored-by: Michael Chirico <[email protected]>

* Update vignettes/datatable-reshape.Rmd

Co-authored-by: Michael Chirico <[email protected]>

* One last batch of fine-tuning

---------

Co-authored-by: Michael Chirico <[email protected]>
Co-authored-by: Michael Chirico <[email protected]>
@MichaelChirico MichaelChirico changed the base branch from master to 1-15-99 January 7, 2024 08:26
@MichaelChirico MichaelChirico requested a review from tdhock January 7, 2024 08:30
sritchie73 and others added 3 commits January 8, 2024 00:58
* Updated documentation for rbindlist(fill=TRUE)

* Print NULL entries of list as NULL

* Added news item

* edit NEWS, use '[NULL]' not 'NULL'

* fix test

* split NEWS item

* add example

---------

Co-authored-by: Michael Chirico <[email protected]>
Co-authored-by: Michael Chirico <[email protected]>
Co-authored-by: Benjamin Schwendinger <[email protected]>
* clarify that list input->unnamed list output

* Add example where make.names is used

* mention role of make.names
@MichaelChirico
Copy link
Member Author

@TysonStanley are we in the thick of the release process already? Wondering if maybe this doc-only change should be shipped with 1.15.0.

It's not urgent though, so if you've already started packaging up 1.15.0 for CRAN, no need to bother -- we'll just merge to 1-15-99.

@TysonStanley
Copy link
Member

Was waiting on a fix from @ben-schwen and @tdhock added the change in the description too so this would be just fine.

@MichaelChirico
Copy link
Member Author

Was waiting on a fix from @ben-schwen

Is that different from #5887? That was merged / results in revdep show nothing new. Sorry but not sure I follow the second half of your comment.

@MichaelChirico MichaelChirico changed the base branch from 1-15-99 to master January 12, 2024 05:39
@TysonStanley
Copy link
Member

Great, then I would say to include this and then tomorrow I'll restart the release process.

As for the second part, Toby changed ctr to aut for you, Toby, and Jan as well but I had seen that was merged, just missed the one from Ben.

@MichaelChirico
Copy link
Member Author

OK, rebased to master again. Ready for merge after final review.

@MichaelChirico
Copy link
Member Author

As for the second part, Toby changed ctr to aut for you, Toby, and Jan as well but I had seen that was merged, just missed the one from Ben.

NB: Ben is not currently a committer: https://github.com/orgs/Rdatatable/teams/maintainers

@TysonStanley
Copy link
Member

As for the second part, Toby changed ctr to aut for you, Toby, and Jan as well but I had seen that was merged, just missed the one from Ben.

NB: Ben is not currently a committer: https://github.com/orgs/Rdatatable/teams/maintainers

Right, I meant Ben's work on #5887 . Only you, Jan, and Toby are committers.

Copy link
Member

@ben-schwen ben-schwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GForce is already turned off when options(datatable.optimize=1L). Might want to adjust that or say that optimize=0 turns optimizations off

@MichaelChirico MichaelChirico merged commit cde7333 into master Jan 12, 2024
@MichaelChirico MichaelChirico deleted the gf-verbose branch January 12, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected result for max of character variable by group

9 participants