<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->

# nlist 0.4.0

- Exported `coda::as.mcmc.list`.
- Added mcmcr as suggested dependency to removal speed bottleneck in `as_nlists.mcmc()` (#31, #44).
- No longer deprecate `as.mcmc` and `as.mcmc.list` (#43).
- Warn-deprecated all soft-deprecated functions.

# nlist 0.3.3

- Speed up `bind_iterations.mcmc.list()` by replacing `chk::chkor()` with custom test and message.
- Fix `pars.mcmc.list()` so that no longer gives deprecation warning for `terms = FALSE` argument if not provided by user.
- Switch to testthat edition 3.

# nlist 0.3.2

- Fixed `complete_terms.mcmc()` so now returns warning when `silent = FALSE` and invalid or inconsistent terms are dropped.

# nlist 0.3.1

- Added `as_nlists.mcmc.list()`.
- Added `simplify = FALSE` argument to `tidy()` and soft deprecated for `simplify = TRUE` so that replace `sd`, `zscore` and `pvalue` columns with `svalue`.

# nlist 0.3.0

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

## Breaking changes

- Set Depends to R >= 3.4
- Replaced `pars_scalar()` and `npars_scalar()` with `pars(scalar = TRUE)` and `npars(scalar = TRUE)`.

Soft deprecated 

  - `pars(terms =)` for `pars_terms(as_term())`.
  - `is.natomic()` for `is_numeric()`.
  - `is.nlist()` and `is.nlists()` for `is_nlist()` and `is_nlists()`.
  - `as.nlist()` and `as.nlists()` for `as_nlist()` and `as.nlists()`.
  - `as.term()` for `as_term()`.

## Features

Added 

  - `thin.default()` to thin objects.
  - `unlist_nlist()` (also `unlist.nlist()`) and `relist_nlist()` to flatten and pop `nlist` objects.
  - `as_data_term()` and `as_data_term()` for `nlist` and `nlists` objects.
  - `fill_all()` and `fill_na()` for `nlist` and `nlists` objects.
  - `set_pars()` for `nlist` and `nlists` objects.
  - `tidy.nlists()` for `nlists` objects.

# nlist 0.1.1

- Fix tests ready for term 0.2.0.

# nlist 0.1.0

- 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()` (also `unlist.nlist()`) and `relist_nlist()` to flatten and pop nlist objects.

# nlist 0.0.1

- Initial release.
