tests/testthat/test-timestamps.R

# library(testthat); devtools::load_all(); 
context("timestamps")

test_that("Timestamp files are written without mangling the dates.", {
  testwd("timestamps")
  example = "basic"
  expect_silent(example_parallelRemake(example))
  setwd(example)
  expect_silent(init_timestamps("random", remakefile = "remake.yml"))
  expect_silent(check_timestamps())
  setwd("..")
  unlink(example, recursive = TRUE)
  testrm("timestamps")
})
wlandau/parallelRemake documentation built on May 4, 2019, 8:44 a.m.