Skip to content

Import only roclet #372

@hadley

Description

@hadley

When you add a new method to a generic defined in another package, you need to first import that generic. This makes it easy to get stuck in a state (e.g. https://github.com/ThierryO/testS4) that you can't easily get out without modifying the NAMESPACE by hand.

One solution would be to have a separate roclet that works like collate. I think the translation from all the import directives is straightforward, so this should work. (But it can't do all namespace directives because @export definitely needs the loaded code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions