tests/testthat.R

library(testthat)
library(parsedate)

test_check("parsedate")

run <- function(tz) {
  source("testthat/helper.R")
  withr::local_timezone(tz)
  test_check("parsedate")
}

run("CET")

run("US/Pacific")

Try the parsedate package in your browser

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

parsedate documentation built on Oct. 29, 2022, 1:16 a.m.