term 0.3.6
- Require R (>= 4.0).
- Fixed
chk_s3_class()
reference in documentation that was causing CRAN NOTE.
term 0.3.5
CRAN release: 2022-09-29
- Require 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
CRAN release: 2022-03-03
- Removed deprecated
default.stringsAsFactors()
fromas.data.frame.term_rcrd
term 0.3.3
CRAN release: 2021-09-28
- Switched order of equality and condition expectations in internal tests.
term 0.3.0
CRAN release: 2020-09-25
Breaking changes
- Stop deprecated
terms
argument tonpdims.term()
. - Warn deprecated
terms
argument topars.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 toas_term.character()
.
-
Bug Fixes
- Fix
as.term()
so issues deprecation warning.
term 0.2.0
CRAN release: 2020-06-20
Breaking changes
-
is_complete_terms()
now requires same number of duplicate copies. -
chk_term()
andvld_term()
argumentvalidate
now defaults to"complete"
andclass
value is soft-deprecated. - Soft deprecated
-
as.term()
foras_term()
. -
is.term()
foris_term()
. -
is.incomplete_terms()
foris_incomplete_terms()
. -
is.inconsistent_terms()
foris_inconsistent_terms()
. -
pars(x, terms = TRUE)
forpars_terms(x)
. -
subset(select = )
forsubset(pars = )
. -
terms
argument ofnpdims()
.
-
Features
- Redefined
term
as avtcr
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)
andnpars(scalar = TRUE)
. - Added
pars_terms()
. - Added
scalar_term()
to test if each term element is scalar.
Internal
- Use extras from CRAN.
-
ndims()
anddims()
imported from universals and reexported. - New implementation for
repair_terms()
.