nlist 0.5.0
Breaking changes
tidy()now defaults tosimplify = TRUEfor thenlists,mcmcandmcmc.listmethods (#61).-
Functions and arguments that were previously warn-deprecated are now defunct and error (#56):
-
is.natomic(),is.nlist()andis.nlists(), replaced byis_numeric(),is_nlist()andis_nlists(). -
as.nlist()andas.nlists(), replaced byas_nlist()andas_nlists(). -
aggregate.nlist()andaggregate.nlists(), replaced byestimates.nlist()andestimates.nlists(). - The
termsargument ofpars(), replaced byterms::pars_terms(as_term(x)). - The
iterationsandparametersarguments ofsubset(), replaced byitersandpars.
-
New features
-
tidy()gains adirectional_informationargument specifying whether thesvaluecolumn is calculated withextras::directional_information()instead ofextras::svalue()(#51). - The default value of
directional_informationis currentlyFALSEbut will change toTRUEin a future release; leaving it unset is soft-deprecated.
Bug fixes
-
subset.nlists()now range-checks theitersargument (#55).
Minor improvements
-
extras(>= 0.10.0) is now required. - Replaced the deprecated
structure()special names.Names,.Dimand.Dimnameswithnames,dimanddimnames, which R-devel now notes.
nlist 0.4.0
CRAN release: 2025-05-11
- Exported
coda::as.mcmc.list. - Added mcmcr as suggested dependency to removal speed bottleneck in
as_nlists.mcmc()(#31, #44). - No longer deprecate
as.mcmcandas.mcmc.list(#43). - Warn-deprecated all soft-deprecated functions.
nlist 0.3.3
CRAN release: 2021-09-02
- Speed up
bind_iterations.mcmc.list()by replacingchk::chkor()with custom test and message. - Fix
pars.mcmc.list()so that no longer gives deprecation warning forterms = FALSEargument if not provided by user. - Switch to testthat edition 3.
nlist 0.3.2
CRAN release: 2021-08-05
- Fixed
complete_terms.mcmc()so now returns warning whensilent = FALSEand invalid or inconsistent terms are dropped.
nlist 0.3.1
CRAN release: 2021-02-06
- Added
as_nlists.mcmc.list(). - Added
simplify = FALSEargument totidy()and soft deprecated forsimplify = TRUEso that replacesd,zscoreandpvaluecolumns withsvalue.
nlist 0.3.0
CRAN release: 2020-09-25
Added - collapse_chains() for mcmc and mcmc.list objects. - pars<- Soft deprecated - as.mcmc.list() for as_mcmc_list(). - as.mcmc() for as_mcmc().
nlist 0.2.0
CRAN release: 2020-06-25
Breaking changes
- Set Depends to R >= 3.4
- Replaced
pars_scalar()andnpars_scalar()withpars(scalar = TRUE)andnpars(scalar = TRUE).
Soft deprecated
-
pars(terms =)forpars_terms(as_term()). -
is.natomic()foris_numeric(). -
is.nlist()andis.nlists()foris_nlist()andis_nlists(). -
as.nlist()andas.nlists()foras_nlist()andas.nlists(). -
as.term()foras_term().
Features
Added
-
thin.default()to thin objects. -
unlist_nlist()(alsounlist.nlist()) andrelist_nlist()to flatten and popnlistobjects. -
as_data_term()andas_data_term()fornlistandnlistsobjects. -
fill_all()andfill_na()fornlistandnlistsobjects. -
set_pars()fornlistandnlistsobjects. -
tidy.nlists()fornlistsobjects.
nlist 0.1.0
CRAN release: 2020-01-24
- Added
fill_na()for natomic, nlist and nlists objects. - Added
as.nlist.numeric()to convert flattened nlist objects back into original objects. - Added
unlist_nlist()(alsounlist.nlist()) andrelist_nlist()to flatten and pop nlist objects.
