#! /bin/sh
"${R_HOME}/bin/Rscript" -e "rstantools::rstan_config()"
# the flags below are now added manually as Makevars is also configured manually until rstantools updates
#"${R_HOME}/bin/Rscript" -e 'cat("PKG_LIBS += $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)", sep = "\n", file = "src/Makevars", append = TRUE)'
#"${R_HOME}/bin/Rscript" -e 'cat("PKG_LIBS += $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)", sep = "\n", file = "src/Makevars.win", append = TRUE)'
