Bug fixes
-
Fixed reading inverse mass matrix with values written in scientific format in
the CSV. (#394) -
Fixed error caused by an empty data list. Previously if a model didn't require
data thendata
had to either be NULL or be a non-empty list, but nowlist()
is allowed. (#403)
New features
-
Added
$sample_mpi()
for MCMC sampling with MPI. (#350) -
Added informative messages on compile errors caused by precompiled headers (PCH). (#384)
-
Added the
cmdstanr_verbose
option for verbose mode. Intended for
troubleshooting, debugging and development. See end of How does CmdStanR work?
vignette for details. (#392) -
New
$loo()
method for CmdStanMCMC objects. Requires computing pointwise
log-likelihood in Stan program. (#366) -
The
fitted_params
argument to the$generate_quantities()
method now also
accepts CmdStanVB,posterior::draws_array
, andposterior::draws_matrix
objects. (#390) -
The
$optimize()
method now supports all of CmdStan's tolerance-related
arguments for (L)BFGS. (#398) -
The documentation for the R6 methods now uses
@param
, which allows package
developers to import the CmdStanR documentation using roxygen2's
@inheritParams
. (#408)