Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rstan should reset environment variables it sets #1136

Open
jhjourdan opened this issue Aug 6, 2024 · 1 comment
Open

Rstan should reset environment variables it sets #1136

jhjourdan opened this issue Aug 6, 2024 · 1 comment

Comments

@jhjourdan
Copy link

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.

@jhjourdan
Copy link
Author

Cc @Marie-Karelle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant