Closed henriquesposito closed 2 years ago
Merging #42 (b950543) into main (d6bcebd) will increase coverage by
3.59%
. The diff coverage is98.95%
.
@@ Coverage Diff @@
## main #42 +/- ##
==========================================
+ Coverage 89.82% 93.42% +3.59%
==========================================
Files 12 13 +1
Lines 403 517 +114
==========================================
+ Hits 362 483 +121
+ Misses 41 34 -7
Impacted Files | Coverage Δ | |
---|---|---|
R/resequence.R | 96.96% <ø> (ø) |
|
R/coerce_from_messydate.R | 91.66% <87.50%> (-8.34%) |
:arrow_down: |
R/coerce_to_messydate.R | 97.46% <100.00%> (+0.13%) |
:arrow_up: |
R/contract.R | 100.00% <100.00%> (ø) |
|
R/expand.R | 100.00% <100.00%> (ø) |
|
R/operate.R | 100.00% <100.00%> (ø) |
|
R/resolve.R | 93.47% <100.00%> (+20.75%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 2576d15...b950543. Read the comment docs.
Description
These patch changes update how expand functions manage negative dates and how negative dates are coerced into dates. As well, arithmetic functions for working with "messydt" were added.
Package
{messydates}
packageFunctions
add()
andsubtract()
helper functions for arithmetic operationsexpand()
functionexpand()
to manage negative datesexpand_negative_dates()
helper function for expanding ranges of negative datesnegative_dates()
helper function to coerce negative "messydt" datescompact_negative_dates()
helper function to compact negative date rangesis.sequence()
as a helper function to check if dates are a rangeinterleave()
functionChecklist: