Skip to content

Using rlang::check_installed()  #4370

Closed
@malcolmbarrett

Description

@malcolmbarrett

rlang 0.4.10 introduced check_installed() to both check that a suggested package is installed and, if not, offer to the user to do so for them. I have found this to be very ergonomic so far and suspect it would be a boon to R newcomers to use this function in ggplot2 (after having some students trip on hexbin just this week).

I'd be happy to prepare a PR. It would require a bump in the rlang dependency, so I'm not sure if that's an issue for you all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions