Searched refs:make_difftime (Results 1 – 12 of 12) sorted by relevance
/dports/devel/R-cran-lubridate/lubridate/man/ |
H A D | make_difftime.Rd | 3 \name{make_difftime} 4 \alias{make_difftime} 7 make_difftime(num = NULL, units = "auto", ...) 41 make_difftime(1) 42 make_difftime(60) 43 make_difftime(3600) 44 make_difftime(3600, units = "minute") 46 make_difftime(second = 90) 48 make_difftime(minute = 1.5) 52 make_difftime(hour = 1, minute = -60) [all …]
|
H A D | is.difftime.Rd | 20 is.difftime(make_difftime(days = 12.4)) # TRUE
|
H A D | as.interval.Rd | 42 diff <- make_difftime(days = 31) #difftime
|
/dports/devel/R-cran-lubridate/lubridate/tests/testthat/ |
H A D | test-ops-division.R | 9 smaller_diff <- make_difftime(days = 100) 10 bigger_diff <- make_difftime(days = 400) 29 smaller_diff <- make_difftime(days = 365) 88 expect_error(days(1) / make_difftime(days = 1)) 101 expect_error(days(1:2) / make_difftime(days = 1)) 112 expect_equal(ddays(20)/ make_difftime(days = 1), 20) 124 expect_equal(ddays(1:2) / make_difftime(days = 1), c(1, 2)) 130 diff <- make_difftime(days = 365)
|
H A D | test-difftimes.R | 15 expect_true(is.difftime(make_difftime(1000))) 21 expect_true(is.difftime(make_difftime(1:3)))
|
H A D | test-ops-multiplication.R | 57 expect_equal(make_difftime(3600), y) 58 expect_is(make_difftime(3600), "difftime")
|
H A D | test-durations.R | 39 diff <- make_difftime(seconds = 5, minutes = 30, days = 0, hour = 1, weeks = 2) 87 expect_equal(make_difftime(seconds = c(5, 1), minutes = c(30,0), 91 expect_equal(make_difftime(seconds = 5, minutes = 30, 171 expect_false(is.duration(make_difftime(1000)))
|
/dports/devel/R-cran-lubridate/lubridate/R/ |
H A D | difftimes.r | 54 make_difftime <- function(num = NULL, units = "auto", ...) { function
|
H A D | coercion.r | 112 make_difftime(as.numeric(new))
|
/dports/devel/R-cran-lubridate/lubridate/ |
H A D | NAMESPACE | 164 export(make_difftime)
|
H A D | MD5 | 106 40751095081f29257bc309ec593e9c33 *man/make_difftime.Rd
|
H A D | NEWS.md | 92 * [#778](https://github.com/tidyverse/lubridate/issues/778) `duration()/period()/make_difftime()` w… 295 …ated in favour of the more powerful `interval`, `period`, `duration` and `make_difftime` functions.
|