Skip to content

Setting environment variable during roxygenise() #1517

@sebffischer

Description

@sebffischer

First and foremost, thank you for the great package and your efforts! :)

In the mlr3 project we currently have some issues for which it would help if roxygenise() would set a global environment variable during its lifetime, similar to how pkgdload does it here: https://github.com/r-lib/pkgload/blob/681b36370887b5925304373edbb5e9ea9a87a6dd/R/load.R#L131

We need this environment variable to disable an optimization mechanism we have implemented during package loading, as it prevents the correct generation of R6 docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions