mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
move object assignment to AMR_env
This commit is contained in:
1 parent
dfae4c7e7d
commit
76bcd3528c
18 files changed
+116
-127
No files matched your search
@@ -147,8 +147,8 @@ if (utf8_supported && !is_latex) {
|
||||
|
||||
# reference data - they have additional columns compared to `antibiotics` and `microorganisms` to improve speed
|
||||
# they cannot be part of R/sysdata.rda since CRAN thinks it would make the package too large (+3 MB)
|
||||
assign(x = "AB_lookup", value = create_AB_lookup(), envir = asNamespace("AMR"))
|
||||
assign(x = "MO_lookup", value = create_MO_lookup(), envir = asNamespace("AMR"))
|
||||
AMR_env$AB_lookup <- create_AB_lookup()
|
||||
AMR_env$MO_lookup <- create_MO_lookup()
|
||||
# for mo_is_intrinsic_resistant() - saves a lot of time when executed on this vector
|
||||
assign(x = "INTRINSIC_R", value = create_intr_resistance(), envir = asNamespace("AMR"))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user