Skip to content

Alias .formula2varlist for old R #6841

Closed

Description

@MichaelChirico
          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)

Activity

  1. added this to the 1.18.0 milestone on Feb 25, 2025
  2. MichaelChirico commented on Feb 25, 2025

    @MichaelChirico
    MemberAuthor

    Follow-up to #6679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions