@@ -325,7 +325,7 @@ CmdStanFit$set("public", name = "init", value = init)
325325# '
326326# ' @examples
327327# ' \dontrun{
328- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
328+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
329329# ' fit_mcmc$init_model_methods()
330330# ' }
331331# ' @seealso [log_prob()], [grad_log_prob()], [constrain_variables()],
@@ -371,7 +371,7 @@ CmdStanFit$set("public", name = "init_model_methods", value = init_model_methods
371371# '
372372# ' @examples
373373# ' \dontrun{
374- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
374+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
375375# ' fit_mcmc$init_model_methods()
376376# ' fit_mcmc$log_prob(unconstrained_variables = c(0.5, 1.2, 1.1, 2.2))
377377# ' }
@@ -409,7 +409,7 @@ CmdStanFit$set("public", name = "log_prob", value = log_prob)
409409# '
410410# ' @examples
411411# ' \dontrun{
412- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
412+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
413413# ' fit_mcmc$init_model_methods()
414414# ' fit_mcmc$grad_log_prob(unconstrained_variables = c(0.5, 1.2, 1.1, 2.2))
415415# ' }
@@ -447,7 +447,7 @@ CmdStanFit$set("public", name = "grad_log_prob", value = grad_log_prob)
447447# '
448448# ' @examples
449449# ' \dontrun{
450- # ' # fit_mcmc <- cmdstanr_example("logistic", method = "sample")
450+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
451451# ' # fit_mcmc$init_model_methods(hessian = TRUE)
452452# ' # fit_mcmc$hessian(unconstrained_variables = c(0.5, 1.2, 1.1, 2.2))
453453# ' }
@@ -482,7 +482,7 @@ CmdStanFit$set("public", name = "hessian", value = hessian)
482482# '
483483# ' @examples
484484# ' \dontrun{
485- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
485+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
486486# ' fit_mcmc$init_model_methods()
487487# ' fit_mcmc$unconstrain_variables(list(alpha = 0.5, beta = c(0.7, 1.1, 0.2)))
488488# ' }
@@ -540,7 +540,7 @@ CmdStanFit$set("public", name = "unconstrain_variables", value = unconstrain_var
540540# '
541541# ' @examples
542542# ' \dontrun{
543- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
543+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
544544# ' fit_mcmc$init_model_methods()
545545# '
546546# ' # Unconstrain all internal draws
@@ -619,7 +619,7 @@ CmdStanFit$set("public", name = "unconstrain_draws", value = unconstrain_draws)
619619# '
620620# ' @examples
621621# ' \dontrun{
622- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
622+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
623623# ' fit_mcmc$init_model_methods()
624624# ' fit_mcmc$variable_skeleton()
625625# ' }
@@ -657,7 +657,7 @@ CmdStanFit$set("public", name = "variable_skeleton", value = variable_skeleton)
657657# '
658658# ' @examples
659659# ' \dontrun{
660- # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample")
660+ # ' fit_mcmc <- cmdstanr_example("logistic", method = "sample", force_recompile = TRUE )
661661# ' fit_mcmc$init_model_methods()
662662# ' fit_mcmc$constrain_variables(unconstrained_variables = c(0.5, 1.2, 1.1, 2.2))
663663# ' }
0 commit comments