rstan icon indicating copy to clipboard operation
rstan copied to clipboard

Rstan should reset environment variables it sets

Open jhjourdan opened this issue 1 year ago • 1 comments

See https://github.com/nlmixr2/nlmixr2/issues/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 avatar Aug 06 '24 21:08 jhjourdan

Cc @Marie-Karelle.

jhjourdan avatar Aug 06 '24 21:08 jhjourdan