• Same as previous version.
  • Switched order of equality and condition expectations in internal tests.
  • Updated internals for lifecycle 1.0.0.

Breaking changes

  • Stop deprecated terms argument to npdims.term().
  • Warn deprecated terms argument to pars.terms().
  • nterms() now returns total number of terms not just number of unique non-missing terms.
  • is_inconsistent_term() now returns TRUE if includes missing or invalid terms.

Features

Major

  • Added term_rcrd class to store vector as underlying data frame and implemented some functions.

Minor

Bug Fixes

Breaking changes

Features

  • Redefined term as a vtcr class with
    • term() constructor which treats unnamed arguments as term values and named values as parameters with their associated dimensions.
    • new_term() to create term vector from character vector without any check.
    • vec_cast() to safely cast character.
  • Added pars(scalar = TRUE) and npars(scalar = TRUE).
  • Added pars_terms().
  • Added scalar_term() to test if each term element is scalar.

Internal

  • Initial release.