mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 14:01:55 +02:00
WHO update, antibiotics update
This commit is contained in:
@ -29,7 +29,7 @@ test_that("age works", {
|
||||
expect_error(age(x = c("1980-01-01", "1985-01-01", "1990-01-01"),
|
||||
reference = c("2019-01-01", "2019-01-01")))
|
||||
|
||||
expect_error(age(x = c("1980-01-01", "1985-01-01", "1990-01-01"),
|
||||
expect_warning(age(x = c("1980-01-01", "1985-01-01", "1990-01-01"),
|
||||
reference = "1975-01-01"))
|
||||
|
||||
expect_warning(age(x = c("1800-01-01", "1805-01-01", "1810-01-01"),
|
||||
|
Reference in New Issue
Block a user