I have been developing an R package that includes some pre-compiled Stan models. The package is based on these guidelines https://mc-stan.org/rstantools/articles/minimal-rstan-package.html. Everything was working great and if I wanted to quickly recompile everything without recompiling Stan models I would use the code below:
library(devtools) library(roxygen2) options(devtools.install.args = "--no-multiarch") roxygen2::roxygenise(clean=TRUE) devtools::install('.', local=TRUE) devtools::document()
About 14 days or so ago I updated devtools to the latest version and now the local=TRUE flag is not preventing compilation of stan models anymore. It does not matter whether the flag is set to TRUE or FALSE, everything recompiles from scratch. This is quite problematic as I have to wait for 10 minutes everytime I change something in the code and would like to test it. Anyone else having similar issues?
p.s. There is a typo in your guidelines (https://mc-stan.org/rstantools/articles/minimal-rstan-package.html), as you have the parameter local set to FALSE for both when you want to recompile Stan models and when you do not want to.