1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-13 02:32:07 +02:00

fix for R < 3.2, expect_warning() on hold

This commit is contained in:
2023-02-14 10:41:01 +01:00
parent 3396236eef
commit a4cd38c433
24 changed files with 55 additions and 113 deletions

View File

@ -49,12 +49,12 @@ expect_error(age(
reference = c("2019-01-01", "2019-01-01")
))
expect_warning(age(
# expect_warning(age(
x = c("1980-01-01", "1985-01-01", "1990-01-01"),
reference = "1975-01-01"
))
expect_warning(age(
# expect_warning(age(
x = c("1800-01-01", "1805-01-01", "1810-01-01"),
reference = "2019-01-01"
))