Skip to content

Behaviour of load_code in roxygenize() #784

@jennybc

Description

@jennybc

This devtools discussion around updating devtools::document() in light of roxygen v6.1.0 needs to continue here:

r-lib/devtools#1849

Excerpt to remind what this is about:

... the helpers = FALSE behaviour (in the sense of load_all(pkg$path, helpers = FALSE)) has been lost. Is that worth taking a stand on?

Two additional points raised by @jimhester in the other thread:

Maybe we should be calling pkgload::load_all(helpers = FALSE) in roxygen2 and maybe export_all = FALSE to more closely mimic a normal package namespace? I am not sure what roxygen2 assumes in regards to exports.

Also potentially recompile = FALSE, which would be a way to fix #771, but maybe would cause other issues if the dll was not built.

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