Skip to content

Commit

Permalink
remove some extraneous code
Browse files Browse the repository at this point in the history
  • Loading branch information
dajmcdon committed Jul 24, 2024
1 parent fc0e99c commit 79e5125
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions R/step_epi_slide.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,6 @@ step_epi_slide <-
arg_is_scalar(before, after)
before <- try_period(before)
after <- try_period(after)

if (is.numeric(before)) {
arg_is_nonneg_int(before)
} else {
before <- try_period(before)
}
if (is.numeric(after)) {
arg_is_nonneg_int(after)
} else {
after <- try_period(after)
}
arg_is_chr_scalar(role, prefix, id)
arg_is_lgl_scalar(skip)

Expand Down

0 comments on commit 79e5125

Please sign in to comment.