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

Alias .formula2varlist for old R #6841

Closed
MichaelChirico opened this issue Feb 25, 2025 · 1 comment · Fixed by #6842
Closed

Alias .formula2varlist for old R #6841

MichaelChirico opened this issue Feb 25, 2025 · 1 comment · Fixed by #6842
Milestone

Comments

@MichaelChirico
Copy link
Member

          I've tried \method{sort_by}{data.table}(x, y, \dots) together with

\alias{sort_by.data.table} and, surprisingly, it just worked on both
R-4.2.2 and R-3.3.0. There's no need for scary-looking kludges like
\if{\Sexpr[stage=install,results=rd]{as.character(exists("sort_by",
"package:base"))}{\method{...}}. R CMD check only verifies that all
exported symbols are documented, not that all documented aliases are
exported (or even exist in the namespace).

The old versions of R do complain about missing .formula2varlist.

Originally posted by @aitap in #6679 (comment)

@MichaelChirico MichaelChirico added this to the 1.18.0 milestone Feb 25, 2025
@MichaelChirico
Copy link
Member Author

Follow-up to #6679

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 a pull request may close this issue.

1 participant