Skip to content

Warning regarding error when calling from package code. #2

@krlmlr

Description

@krlmlr

assignInNamespace should not be used in final code, and will in future throw an error if called from a package. Already certain uses are disallowed.

This warning has been around since 2011, apparently without any action: wch/r-source@91f910d.

I wonder if we should at least hide the call to assignInNamespace() so that it's more difficult to detect with automated checks.

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