Fitted objects now have S3 classes and methods.
fit_norm2() and fit_lognorm2() return objects
of class demixr_fit with print(),
summary(), and plot() methods;
bootstrap_mix2() returns a demixr_boot object
and select_best_mixture() a demixr_select
object, each with a print() method. plot()
draws the fitted mixture density together with its two component
densities over a histogram of the data.
prelim_plots() gains the ability to suppress the
kernel-density overlay: passing col_density = NA omits the
density curve, and the histogram title changes from
"Histogram with density" to
"Histogram".
bootstrap_mix2() now honors quiet = 0:
the progress bar is suppressed when quiet = 0, matching the
documented behavior of the fitting functions.
The unused parallelly dependency has been removed.
Parallel execution is unchanged and is still requested through the
parallelType argument (handled by DEoptim for
the global search and by pbapply for the
bootstrap).
Executable examples have been added to all exported functions.
The test suite has been expanded and now uses testthat edition 3.