Skip to content

Commit

Permalink
Conditially evaluate example for numericise.hms()
Browse files Browse the repository at this point in the history
  • Loading branch information
nehill197 committed Aug 23, 2024
1 parent 6e0ff29 commit 0524e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/numericise.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ numericise.POSIXct <- function(x, ...) {
#' @examples
#'
#' # hms
#' @examplesIf requireNamespace("hms")
#' numericise(hms::as_hms("00:01:03"))
numericise.hms <- function(x, ...) {
# I'm not sure if this test is needed since S3 function
Expand Down
2 changes: 2 additions & 0 deletions man/numericise.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0524e1c

Please sign in to comment.