Skip to content

Use rlang::check_installed vs. rlang::is_installed more consistently? #1268

@MichaelChirico

Description

@MichaelChirico

I also don't have an opinion, I only note that rlang::is_installed() is already used elsewhere:

#' if (rlang::is_installed("data.tree")) {

if (!rlang::is_installed("roxygen2")) {

if (is_installed("prettycode")) {

However I also see check_installed:

check_installed("data.tree")

if (write_tree) check_installed("data.tree")

So I will mark this for follow-up to use a consistent choice in the code base. (including whether to use :: as those names are in the NAMESPACE)

Originally posted by @MichaelChirico in #1267 (comment)

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