mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 05:00: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
@@ -145,7 +145,7 @@ join_microorganisms <- function(type, x, by, suffix, ...) {
|
||||
}
|
||||
message_('Joining, by = "', by, '"', add_fn = font_black, as_note = FALSE) # message same as dplyr::join functions
|
||||
}
|
||||
if (!all(x[, by, drop = TRUE] %in% MO_lookup$mo, na.rm = TRUE)) {
|
||||
if (!all(x[, by, drop = TRUE] %in% AMR_env$MO_lookup$mo, na.rm = TRUE)) {
|
||||
x$join.mo <- as.mo(x[, by, drop = TRUE])
|
||||
by <- c("join.mo" = "mo")
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user