devtools::install(local=TRUE) always re compiles?

You can use devtools::document() to recompile the R side of the code: this should not trigger a recompilation (you can use devtools::clean_dll() followed by devtools::load_all() to recompile the Stan/C++ code without installing the package).

1 Like