1
0
mirror of https://github.com/msberends/AMR.git synced 2026-07-21 19:50:54 +02:00
This commit is contained in:
2026-06-23 00:21:40 +02:00
parent 3d3f06be24
commit 57e45db320
120 changed files with 121694 additions and 94170 deletions

View File

@@ -81,12 +81,13 @@ test_that("test-data.R", {
}
}
AMR:::add_MO_lookup_to_AMR_env()
df <- AMR:::AMR_env$MO_lookup
expect_true(all(c(
"mo", "fullname", "status", "kingdom", "phylum", "class", "order",
"family", "genus", "species", "subspecies", "rank", "ref", "source",
"lpsn", "lpsn_parent", "lpsn_renamed_to", "gbif", "gbif_parent", "gbif_renamed_to", "prevalence",
"snomed", "kingdom_index", "fullname_lower", "full_first", "species_first"
"snomed", "domain_index", "fullname_lower", "full_first", "species_first"
) %in% colnames(df)))
expect_inherits(AMR:::MO_CONS, "mo")