Skip to content

Rstan should reset environment variables it sets #1136

@jhjourdan

Description

@jhjourdan

See nlmixr2/nlmixr2#253.

Rstan sets some environement variables: PKG_CPPFLAGS, PKG_LIBS and USE_CXX17. These variables interfere with other R packages using R CMD SHLIB, such as nlmixr2, and make them unable to run.

The fix is obvious: rstan should reset these changes after building a model.

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