Skip to content

Commit

Permalink
Documentation cleanup (fix warning for long line)
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Mar 10, 2020
1 parent b55d526 commit 57cf2dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion R/convert_to_date.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ convert_to_date <- function(x, ..., character_fun=lubridate::ymd, string_convers

#' @describeIn convert_to_date Convert to a date-time (POSIXct)
#' @examples
#' convert_to_datetime(c("2009-07-06", "40000.1", "40000", NA), character_fun=lubridate::ymd_h, truncated=1, tz="UTC")
#' convert_to_datetime(
#' c("2009-07-06", "40000.1", "40000", NA),
#' character_fun=lubridate::ymd_h, truncated=1, tz="UTC"
#' )
#' @export
#' @importFrom lubridate ymd_hms
convert_to_datetime <- function(x, ..., tz="UTC", character_fun=lubridate::ymd_hms, string_conversion_failure=c("error", "warning")) {
Expand Down
5 changes: 4 additions & 1 deletion man/convert_to_date.Rd

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

0 comments on commit 57cf2dc

Please sign in to comment.