- Same as previous version.
-
Requires R (>= 3.5)
-
Moved following from soft to warn deprecated
-
is.term()
-
is.incomplete_terms()
-
is.inconsistent_terms()
-
parameters()
-
parameters<-()
-
set_parameters()
-
tdims()
- Removed deprecated
default.stringsAsFactors()
fromas.data.frame.term_rcrd
- Switched order of equality and condition expectations in internal tests.
- Internally replaced
chk::chkor()
withchk::chkor_vld()
.
- Updated internals for
lifecycle
1.0.0.
- 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.
- Added
term_rcrd
class to store vector as underlying data frame and implemented some functions.
- Added
unique()
.summary()
.anyDuplicated()
.scalar_term()
to test whether each element in a term vector is scalar.normalize_terms()
.normalize
argument toas_term.character()
.
- Fix
as.term()
so issues deprecation warning.
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()
.
- Redefined
term
as avtcr
class withterm()
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.
- Use extras from CRAN.
ndims()
anddims()
imported from universals and reexported.- New implementation for
repair_terms()
.
- Added
chk_term()
andvld_term()
.
- Initial release.