mcmc_* plotting functions accept posterior::draws_* objects (via prepare_mcmc_array), but the extractors log_posterior() and nuts_params() only dispatch on stanfit, stanreg, CmdStanMCMC, and list.
Users working with draws objects directly (e.g. from cmdstanr::as_draws_array(fit$sampler_diagnostics()) or posterior::as_draws_*()) can't pass them to the extractors, despite these being standard outputs in the Stan ecosystem.
mcmc_*plotting functions acceptposterior::draws_*objects (viaprepare_mcmc_array), but the extractorslog_posterior()andnuts_params()only dispatch onstanfit,stanreg,CmdStanMCMC, andlist.Users working with draws objects directly (e.g. from
cmdstanr::as_draws_array(fit$sampler_diagnostics())orposterior::as_draws_*()) can't pass them to the extractors, despite these being standard outputs in the Stan ecosystem.