Open elong0527 opened 2 years ago
The code below will result in error message when we work on a computer without internet connection (within company firewall)
https://github.com/stan-dev/rstan/blob/da2fc9c079534a82d3d26adda51ad17bf22f5e2b/rstan/rstan/R/stanc.R#L139
Could we have an option to avoid running the code as the stan function seems did not return any value from stanc_beta
stan
stanc_beta
Note: the stanc_beta is called within try() and does not return any value. So the error message is not actually an ERROR for stan function.
try()
https://github.com/stan-dev/rstan/blob/da2fc9c079534a82d3d26adda51ad17bf22f5e2b/rstan/rstan/R/stanc.R#L60
The code below seems address the issue. But this option is not documented in the rstan_options help page.
rstan_options
rstan_options(javascript = FALSE)
The code below will result in error message when we work on a computer without internet connection (within company firewall)
https://github.com/stan-dev/rstan/blob/da2fc9c079534a82d3d26adda51ad17bf22f5e2b/rstan/rstan/R/stanc.R#L139
Could we have an option to avoid running the code as the
stan
function seems did not return any value fromstanc_beta
Note: the
stanc_beta
is called withintry()
and does not return any value. So the error message is not actually an ERROR forstan
function.https://github.com/stan-dev/rstan/blob/da2fc9c079534a82d3d26adda51ad17bf22f5e2b/rstan/rstan/R/stanc.R#L60