parttime 0.1.1
CRAN release: 2023-03-08
- Update formals for
vctrsgeneric methods to reflect changes in thevctrspackage.
parttime 0.1.0
CRAN release: 2022-11-04
Reworked
pmaxandpminhandling to address edge case failure modes. Performance may be impacted. If you identify performance regressions that impact your work, please file a ticket. (#35, @dgkf)Renamed
parse_iso8601toparse_iso8601_datetimeto prepare for introduction of an alternative parser for iso8601 timespans. (#38, @dgkf)New format added for CDISC-style datetime strings. Can be used via
as.parttime(..., format = parse_cdisc_datetime). (#38, @dgkf)as.parttimewill now, by default, show warnings when some strings fail to parse into the provided format. Behavior can be configured using the newon.naparameter. (#36, @dgkf)extends
lubridate-style accessor and assignment helpers, such asyear()andyear()<-. Unfortuntely, many are provided as S4 generics, and may be masked by other packages that extend these generics. Some generic-like functions are provided only as non-generic forms inlubridateand will always be masked, such astz(). (#14, @dgkf).added
formatparameter toas.parttime, allowing for custom regular expressions or functions to be used to parse non-iso formats. If other established standards are regularly needeed, they could be included with the package. (#13, @dgkf)added
res(“resolution”) parameter to theimpute_*family of functions, allowing for only some field up until the provided resolution to be imputed. With this, also addedimpute_date_*alternatives which default to imputing to a"day"resolution. (#12, @dgkf)rename
is_partial_*tohas_partial_*to avoid ambiguity with class checksremoved some deprecated
pillarinterfacesbring package up-to-speed with
vctrspackage changes from last few yearsfixed subset assignment operators [<- and [[<-
improved imputation as to not introduce dates that aren’t viable for the given month