mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
(v3.0.1.9076) fix: normalise year-qualified AMR_guideline option in all affected functions
This commit is contained in:
1 parent
f7d353361c
commit
12cabca29d
7 files changed
+33
-13
No files matched your search
@@ -2119,7 +2119,7 @@ pillar_shaft.sir <- function(x, ...) {
|
||||
out[is.na(x)] <- pillar::style_subtle(" NA")
|
||||
out[x == "S"] <- font_green_bg(" S ") # has font_black internally
|
||||
out[x == "SDD"] <- font_green_lighter_bg(" SDD ") # has font_black internally
|
||||
if (getOption("AMR_guideline", "EUCAST")[1] == "EUCAST") {
|
||||
if (getOption("AMR_guideline", "EUCAST")[1] %like% "EUCAST") {
|
||||
out[x == "I"] <- font_green_lighter_bg(" I ") # has font_black internally
|
||||
} else {
|
||||
out[x == "I"] <- font_orange_bg(" I ") # has font_black internally
|
||||
|
||||
Reference in new issue
Block a user