time an object of classPOSIXct(as.POSIXctwill be called on character vectors and objects of classPOSIXlt,Date, andfactor) value integer vector; signed number of units to add totime units single string; one of'years','months','weeks','days','hours','minutes','seconds', or'milliseconds'...
PROTECT(time = stri_prepare_arg_POSIXct(time,"time")); PROTECT(value = stri_prepare_arg_integer(value,"value"));if(!isNull(tz)) PROTECT(tz = stri_prepare_arg_string_1(tz,"tz"));elsePROTECT(tz);/* needed to set tzone attrib */R_len_t vectorize_length = stri__recycling_rule(t...
dplyr::tibble(time=lubridate::POSIXct(),event=character(0L))|>gt()|>rows_add(time=lubridate::ymd_hms("2022-01-23 12:36:10"),event="start")|>rows_add(time=lubridate::ymd_hms("2022-01-23 13:41:26"),event="completed")
importFrom(checkmate,assert_posixct) importFrom(checkmate,assert_scalar) importFrom(checkmate,assert_string) Expand Down Expand Up @@ -261,7 +265,6 @@ importFrom(data.table,setnames) importFrom(data.table,setorder) importFrom(data.table,setorderv) importFrom(data.table,transpose) importFrom(...
} else { # time: by is POSIXct/Date or character7 changes: 5 additions & 2 deletions 7 man/aggregate.stars.Rd Load diff Some generated files are not rendered by default. Learn more about how customized files appear on GitHub. 0...
4 changes: 2 additions & 2 deletions 4 R/timestamps_to_datetime.R Original file line numberDiff line numberDiff line change @@ -83,13 +83,13 @@ timestamps_to_datetime <- function(x, tz_offset = NULL, force_tz = NULL) { out <- as.POSIXct(x, origin = "1970-01-01", tz ...