Skip to content

Consistently qualify [base] in Rd links #7095

Description

@MichaelChirico

Let's specify destinations of non-local links. That won't give us R CMD check problems, but it should help the resolver.

  \code{\link[base]{options}},
  \code{\link[base]{getOption}},

Originally posted by @aitap in #7075 (comment)

This was applied in #7075, but it's not consistent in our code base:

The expression \code{.()} is a \emph{shorthand} alias to \code{list()}; they both mean the same. (An exception is made for the use of \code{.()} within a call to \code{\link{bquote}}, where \code{.()} is left unchanged.)

Let's do so consistently, including a linter to prevent regression.

Activity

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

    code-qualityIssues related to improving code quality/readabilitydocumentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions