Skip to content

Commit

Permalink
address Issue #46
Browse files Browse the repository at this point in the history
fixes incorrect conditions when checking dates for `present`
  • Loading branch information
adamhsparks authored Jan 21, 2023
1 parent 0e5e2af commit 41738e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/internal_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
cond2 <- xmin >= past

# no later then present date
cond3 <- xmax < present
cond3 <- xmax <= present

if (!all(cond1, cond2, cond3)) {
stop(
Expand Down

0 comments on commit 41738e2

Please sign in to comment.