8000 Import only roclet · Issue #372 · r-lib/roxygen2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Import only roclet #372
Closed
Closed
@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

      0