It would be nice if instantiate could auto-detect that it is not on CRAN, and then do an internal install of CmdStan. This would make things completely automatic for users while still appeasing CRAN checks. But unfortunately, there seems to be no completely automatic way to detect CRAN. The current practice is for a user to set Sys.setenv(NOT_CRAN = "true") but otherwise assume R is running on CRAN. It would be great if there were a way to do this that is "opt-in" and not "opt-out".
It would be nice if
instantiate
could auto-detect that it is not on CRAN, and then do an internal install of CmdStan. This would make things completely automatic for users while still appeasing CRAN checks. But unfortunately, there seems to be no completely automatic way to detect CRAN. The current practice is for a user to setSys.setenv(NOT_CRAN = "true")
but otherwise assume R is running on CRAN. It would be great if there were a way to do this that is "opt-in" and not "opt-out".