Skip to content

release_questions not found when package not loaded #2610

@corybrunson

Description

@corybrunson

I just noticed that release() does not ask questions from release_questions() when the package is not loaded, e.g. via load_all(). The crux of it seems to be pkgload::ns_env(pkg$package), which returns NULL in this case. If this is intentional, then i urge it be mentioned in the documentation, and i'm glad to submit a PR for that. But from memory i don't think this has always been the case, and i don't want to presume how best to fix it in that case.

I'm not sure how to create a reprex for this due to the interactive nature of it—but i'd be glad for a pointer.

Thank y'all for release() and all of {devtools}. It is invaluable to me.

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