Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sort_by.data.table #6679

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

add sort_by.data.table #6679

wants to merge 4 commits into from

Conversation

rikivillalba
Copy link
Contributor

@rikivillalba rikivillalba commented Dec 21, 2024

Proposal for #6662

  • Note that sort_by.data.table() will sort using C-locale now, this is incompatible with base::sort_by.data.frame() used on data.tables

Copy link

github-actions bot commented Dec 21, 2024

Comparison Plot

Generated via commit fe8f6f1

Download link for the artifact containing the test results: ↓ atime-results.zip

Task Duration
R setup and installing dependencies 4 minutes and 32 seconds
Installing different package versions 7 minutes and 52 seconds
Running and plotting the test cases 2 minutes and 26 seconds

R/data.table.R Outdated Show resolved Hide resolved
if (inherits(y, "formula"))
y <- .formula2varlist(y, x)
if (!is.list(y))
y <- list(y)
Copy link
Member

Choose a reason for hiding this comment

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

Needs a few more tests -- currently all cases use the formula interface.

NAMESPACE Outdated Show resolved Hide resolved
Copy link
Member

@MichaelChirico MichaelChirico left a comment

Choose a reason for hiding this comment

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

Looks good! I think it needs an entry in man/, probably in ?forder would be the most logical place?

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.

2 participants