inst/tinytest/test_gh_issue_33.R

library(anytime)

dtchar <- c("01-Jul-2015 00:15:00", "01-Jul-2015 00:30:00")
#anytime:::setDebug(TRUE)
anytime(dtchar)
anytime(dtchar)
expect_true(sum(!is.na(anytime(dtchar))) == 2)
expect_true(sum(!is.na(anytime(dtchar))) == 2)

Try the anytime package in your browser

Any scripts or data that you put into this service are public.

anytime documentation built on Aug. 28, 2020, 1:12 a.m.