Skip to content

Commit

Permalink
add check for hms
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Jan 14, 2025
1 parent 4a95f27 commit ae59318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/transform-date.R
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ timespan_trans <- transform_timespan
#' @rdname transform_timespan
#' @export
transform_hms <- function() {
check_installed("hms", "for the 'hms' transformation.")

Check warning on line 123 in R/transform-date.R

View check run for this annotation

Codecov / codecov/patch

R/transform-date.R#L123

Added line #L123 was not covered by tests
new_transform(
"hms",
transform = function(x) {
Expand Down

0 comments on commit ae59318

Please sign in to comment.