move object assignment to AMR_env

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-10-14 13:02:50 +02:00
1 parent dfae4c7e7d
commit 76bcd3528c
18 files changed
+116 -127

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ if (AMR:::pkg_is_available("tibble", also_load = FALSE)) {
}
}
df <- AMR:::MO_lookup
df <- AMR:::AMR_env$MO_lookup
expect_true(nrow(df[which(df$prevalence == 1), , drop = FALSE]) < nrow(df[which(df$prevalence == 2), , drop = FALSE]))
expect_true(nrow(df[which(df$prevalence == 2), , drop = FALSE]) < nrow(df[which(df$prevalence == 3), , drop = FALSE]))
expect_true(all(c(