Skip to content

Use clearer rlang::check_exclusive for param checking in endpoints #222

Open
@nmdefries

Description

@nmdefries

Replace this kind of check for mutual exclusivity (appears in most of the endpoints, e.g.)

if (sum(!is.null(issues), !is.null(as_of)) > 1) {

with rlang::check_exclusive for improved readability. There's this snag though: r-lib/rlang#1647

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3very low priority

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions