Skip to content

.to_gran_url stop can prevent useful subsequent functionality #29

@github-rena

Description

@github-rena

In the commit 5eee55e
the function .to_gran_url was added which adds the code:

stopifnot(grepl(dest_base(repo), path, fixed = TRUE))

In buildBadge, if (is.na(status) || status == "NA"), log/path = "" so this will always hit the stop case and can prevent useful subsequent functionality in makeRepo like saveRepo. Could a more lenient response than stopping be taken in general?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions