Create, Manipulate and Query Parameter Terms
Overview
Creates, manipulates, queries and repairs vectors of parameter terms. Parameter terms are the labels used to reference values in vectors, matrices and arrays. They represent the names in coefficient tables and the column names in 'mcmc' and 'mcmc.list' objects.
Breaking changes
- The following functions, deprecated since 0.1.0, are now defunct and error when called (#103).
is.term(), replaced byis_term().is.incomplete_terms(), replaced byis_incomplete_terms().is.inconsistent_terms(), replaced byis_inconsistent_terms().parameters()and `parameters<-(), replaced bypars()andpars<-()`.set_parameters(), replaced byset_pars().tdims(), replaced bytindex().- The
termsargument ofpars(), deprecated since 0.2.0, is now defunct (#106). Usepars_terms(as_term(x))in place ofpars(x, terms = TRUE)andpars(x)in place ofpars(x, terms = FALSE).
Show all changes in 0.4.0Hide the rest of the changes in 0.4.0
New features
set_pars()andsummary()gainterm_rcrdmethods (#90).
Bug fixes
format()now escapes backticks embedded in term names so that printed terms are unambiguous (#90).
Minor improvements
- vctrs (>= 0.4.0) is now the declared minimum, as
levels()is implemented for vctrs vectors and thelevels.term()andlevels.term_rcrd()workarounds are no longer required (#90). - The purrr dependency is dropped (#103).
- The
pars(scalar = NA)compatibility hack for nlist 0.1.0 and 0.1.1 is removed (#90). as_list()is imported from extras instead of being copied locally (#90).- The
complete_terms()examples forterm_rcrdobjects now run (#90).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 43 (4 internal)includes a package overview page
- Examples that run
- 100%39 run in a plain check
- Exported functions with examples
- 92%
- Documented parameters
- 96%
- Return-value docs
- 63%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 93%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
15 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/poissonconsulting/term on 2026-10-11.
GitHub Pages site last deployed 2026-09-01
pkgdown site last built 2026-08-31
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen on or before 2026-05-16Named in .Rbuildignore: .claudeNamed in .gitignore: .claudePull request it wrote: opened by a project memberCommits: at least 13 crediting it in the message
- Claude Fable 56 commits · Jul to Aug 2026
- Claude Opus 54 commits · Aug 2026
- Claude Opus 4.82 commits · Jun 2026
Dependencies
Installing term adds 8 packages (4 with compiled code, 3.6 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, chk 687 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.4.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.3.72026-01-30 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.3.62025-01-21 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.3.52022-09-29 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.3.42022-03-03 · diff ↗
- 0.3.32021-09-28 · diff ↗
- 0.3.22021-09-06 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.3.12021-02-06 · diff ↗
- 0.3.02020-09-25 · diff ↗ ·
removed 2 exports
vec_cast.term, vec_ptype2.termadded 9 exports
NA_term_rcrd_, as_term_rcrd, chk_term_rcrd, is_term_rcrd, new_term_rcrd, normalize_terms, scalar_term, term_rcrd, vld_term_rcrd - 0.2.02020-06-20 · diff ↗ ·
removed 2 exports
pararameters<-, pars<-added 10 exports
parameters<-, as_term, is_incomplete_terms, is_inconsistent_terms, is_term, new_term, pars_terms, vec_cast, vec_cast.term, vec_ptype2.term
Package metadata
- First published
- 2019-12-15
- Total releases
- 12 / 7 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Download size
- 45 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("term")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.