mirror of
https://github.com/msberends/AMR.git
synced 2025-06-07 19:14:01 +02:00
(v2.1.1.9290) typo
This commit is contained in:
parent
d384b492cf
commit
79038fed21
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 2.1.1.9289
|
Version: 2.1.1.9290
|
||||||
Date: 2025-06-01
|
Date: 2025-06-01
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 2.1.1.9289
|
# AMR 2.1.1.9290
|
||||||
|
|
||||||
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using [the instructions here](https://amr-for-r.org/#get-this-package).)*
|
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using [the instructions here](https://amr-for-r.org/#get-this-package).)*
|
||||||
|
|
||||||
|
4
R/mdro.R
4
R/mdro.R
@ -204,14 +204,14 @@ mdro <- function(x = NULL,
|
|||||||
}
|
}
|
||||||
if (is.character(vanA)) {
|
if (is.character(vanA)) {
|
||||||
meet_criteria(vanA, is_in = colnames(x), allow_NA = FALSE, has_length = 1)
|
meet_criteria(vanA, is_in = colnames(x), allow_NA = FALSE, has_length = 1)
|
||||||
vanA <- x[[VanA]]
|
vanA <- x[[vanA]]
|
||||||
meet_criteria(vanA, allow_class = "logical", allow_NA = TRUE)
|
meet_criteria(vanA, allow_class = "logical", allow_NA = TRUE)
|
||||||
} else if (length(vanA) == 1) {
|
} else if (length(vanA) == 1) {
|
||||||
vanA <- rep(vanA, NROW(x))
|
vanA <- rep(vanA, NROW(x))
|
||||||
}
|
}
|
||||||
if (is.character(vanB)) {
|
if (is.character(vanB)) {
|
||||||
meet_criteria(vanB, is_in = colnames(x), allow_NA = FALSE, has_length = 1)
|
meet_criteria(vanB, is_in = colnames(x), allow_NA = FALSE, has_length = 1)
|
||||||
vanB <- x[[VanB]]
|
vanB <- x[[vanB]]
|
||||||
meet_criteria(vanB, allow_class = "logical", allow_NA = TRUE)
|
meet_criteria(vanB, allow_class = "logical", allow_NA = TRUE)
|
||||||
} else if (length(vanB) == 1) {
|
} else if (length(vanB) == 1) {
|
||||||
vanB <- rep(vanB, NROW(x))
|
vanB <- rep(vanB, NROW(x))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user