@@ -324,7 +324,7 @@ CmdStanFit$set("public", name = "init", value = init)
324324# '
325325# ' @examples
326326# ' \dontrun{
327- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
327+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
328328# ' fit_mcmc$init_model_methods()
329329# ' }
330330# ' @seealso [log_prob()], [grad_log_prob()], [constrain_variables()],
@@ -370,7 +370,7 @@ CmdStanFit$set("public", name = "init_model_methods", value = init_model_methods
370370# '
371371# ' @examples
372372# ' \dontrun{
373- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
373+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
374374# ' fit_mcmc$init_model_methods()
375375# ' fit_mcmc$log_prob(unconstrained_variables = c(0.5, 1.2, 1.1, 2.2))
376376# ' }
@@ -408,7 +408,7 @@ CmdStanFit$set("public", name = "log_prob", value = log_prob)
408408# '
409409# ' @examples
410410# ' \dontrun{
411- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
411+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
412412# ' fit_mcmc$init_model_methods()
413413# ' fit_mcmc$grad_log_prob(unconstrained_variables = c(0.5, 1.2, 1.1, 2.2))
414414# ' }
@@ -446,7 +446,7 @@ CmdStanFit$set("public", name = "grad_log_prob", value = grad_log_prob)
446446# '
447447# ' @examples
448448# ' \dontrun{
449- # ' # fit_mcmc <- cmdstanr_example("logistic", method = "sample")
449+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
450450# ' # fit_mcmc$init_model_methods(hessian = TRUE)
451451# ' # fit_mcmc$hessian(unconstrained_variables = c(0.5, 1.2, 1.1, 2.2))
452452# ' }
@@ -481,7 +481,7 @@ CmdStanFit$set("public", name = "hessian", value = hessian)
481481# '
482482# ' @examples
483483# ' \dontrun{
484- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
484+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
485485# ' fit_mcmc$init_model_methods()
486486# ' fit_mcmc$unconstrain_variables(list(alpha = 0.5, beta = c(0.7, 1.1, 0.2)))
487487# ' }
@@ -539,7 +539,7 @@ CmdStanFit$set("public", name = "unconstrain_variables", value = unconstrain_var
539539# '
540540# ' @examples
541541# ' \dontrun{
542- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
542+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
543543# ' fit_mcmc$init_model_methods()
544544# '
545545# ' # Unconstrain all internal draws
@@ -618,7 +618,7 @@ CmdStanFit$set("public", name = "unconstrain_draws", value = unconstrain_draws)
618618# '
619619# ' @examples
620620# ' \dontrun{
621- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
621+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
622622# ' fit_mcmc$init_model_methods()
623623# ' fit_mcmc$variable_skeleton()
624624# ' }
@@ -656,7 +656,7 @@ CmdStanFit$set("public", name = "variable_skeleton", value = variable_skeleton)
656656# '
657657# ' @examples
658658# ' \dontrun{
659- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
659+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
660660# ' fit_mcmc$init_model_methods()
661661# ' fit_mcmc$constrain_variables(unconstrained_variables = c(0.5, 1.2, 1.1, 2.2))
662662# ' }
0 commit comments