All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Sampling results differ from 1.0.5 for the same seed, because the fixes below change the path the sampler takes.
benchmarks/.vignettes/articles/alcove/.benchmarks/benchmark.R for comparing the speed of two
builds of the package.model and discretize.pspGlobal() documentation cites the published
version of g-distance (Dome & Wills, 2025, Psychological
Review) instead of the preprint.pspGlobal matches ordinal patterns with a hash table in
a single pass instead of five pairwise comparison loops over every
stored pattern, and no longer copies the stored patterns on every
iteration.model and discretize are called through
one error-protected block per iteration instead of one per call, which
removes two setjmp system calls per evaluation on
macOS.std::to_chars where
the compiler supports it (macOS 13.3 or later, libstdc++ 11 or later),
which makes writing them about 5 times faster than in 1.0.5. Other
platforms use %.17g, which is about 45% slower than 1.0.5
because it writes full precision.model output of the wrong length or type, and
discretize output that is not a dimensionality
x dimensionality numeric matrix, now stop with a message
that names the problem instead of an Armadillo error.LastEvaluatedParameters appended rows for stored patterns
that were not seen instead of for new patterns, so up to half of the
newly discovered regions were explored from a point in another region.
Each pattern’s centre is now the last parameter set that produced
it.init.NaN were stored
as a new pattern on every evaluation.testthat::context() usage (84d0b19).src/Makevars minimal, linking LAPACK, BLAS and
FLIBS only (97cf4e9).pspGlobal that caused
null subviews and undefined behaviour (e60c3b3,
4ac2b01).This is the last feature update from me. If you want to add new features, please get in touch (@lenarddome).
Released on CRAN. This version introduces API-breaking changes. For a full list of feature changes since the previous CRAN release, see docs/CHANGELOG.md.
pspGlobal, that will take over from psp_global
and psp_control (c75d02f).pspGlobal returns the number of iterations run (3b3bd0d).psp_global now shows a deprecation message. It will be
removed once pspGlobal is complete (b52126d).S3 class, to avoid redundancy and feature creep (c0f5f92).