mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
good start-up practice
This commit is contained in:
1 parent
61c0bdb7af
commit
1db74e86cd
4 files changed
+7
-5
No files matched your search
@@ -184,7 +184,9 @@ if (utf8_supported && !is_latex) {
|
||||
AMR_env$AB_lookup <- create_AB_lookup()
|
||||
AMR_env$AV_lookup <- create_AV_lookup()
|
||||
AMR_env$MO_lookup <- create_MO_lookup()
|
||||
|
||||
}
|
||||
|
||||
.onAttach <- function(lib, pkg) {
|
||||
# if custom ab option is available, load it
|
||||
if (!is.null(getOption("AMR_custom_ab")) && file.exists(getOption("AMR_custom_ab", default = ""))) {
|
||||
packageStartupMessage("Adding custom antimicrobials from '", getOption("AMR_custom_ab"), "'...", appendLF = FALSE)
|
||||
|
||||
Reference in new issue
Block a user