(v0.6.1.9045) age test fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2019-05-31 14:40:15 +02:00
1 parent 493ae2ba0c
commit f03f71eced
11 files changed
+41 -13

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ test_that("age works", {
reference = "2019-09-01",
exact = TRUE),
c(0.6656393, 0.4191781, 0.1698630),
tolerance = 0.000001)
tolerance = 0.001)
expect_error(age(x = c("1980-01-01", "1985-01-01", "1990-01-01"),
reference = c("2019-01-01", "2019-01-01")))