Skip to content

Latest commit

 

History

History
110 lines (68 loc) · 2.63 KB

NEWS.md

File metadata and controls

110 lines (68 loc) · 2.63 KB

term 0.3.5.9000

  • Same as previous version.

term 0.3.5

  • Requires R (>= 3.5)

  • Moved following from soft to warn deprecated

  • is.term()

  • is.incomplete_terms()

  • is.inconsistent_terms()

  • parameters()

  • parameters<-()

  • set_parameters()

  • tdims()

term 0.3.4

  • Removed deprecated default.stringsAsFactors() from as.data.frame.term_rcrd

term 0.3.3

  • Switched order of equality and condition expectations in internal tests.

term 0.3.2

  • Internally replaced chk::chkor() with chk::chkor_vld().

term 0.3.1

  • Updated internals for lifecycle 1.0.0.

term 0.3.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

  • Added
    • unique().
    • summary().
    • anyDuplicated().
    • scalar_term() to test whether each element in a term vector is scalar.
    • normalize_terms().
    • normalize argument to as_term.character().

Bug Fixes

  • Fix as.term() so issues deprecation warning.

term 0.2.0

Breaking changes

  • is_complete_terms() now requires same number of duplicate copies.
  • chk_term() and vld_term() argument validate now defaults to "complete" and class value is soft-deprecated.
  • Soft deprecated
    • as.term() for as_term().
    • is.term() for is_term().
    • is.incomplete_terms() for is_incomplete_terms().
    • is.inconsistent_terms() for is_inconsistent_terms().
    • pars(x, terms = TRUE) for pars_terms(x).
    • subset(select = ) for subset(pars = ).
    • terms argument of npdims().

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

  • Use extras from CRAN.
  • ndims() and dims() imported from universals and reexported.
  • New implementation for repair_terms().

term 0.1.0

  • Added chk_term() and vld_term().

term 0.0.1

  • Initial release.