1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-10 07:41:57 +02:00

(v2.1.1.9125) replace 'antibiotic selectors' with 'antimicrobial selectors'

This commit is contained in:
2025-01-17 12:09:39 +01:00
parent 1697ad37ce
commit 92c4fc0f94
33 changed files with 1029 additions and 807 deletions

View File

@ -34,27 +34,27 @@
# see https://github.com/tidyverse/dplyr/issues/5955 why this is required
# S3: ab_selector ----
# S3: amr_selector ----
# this does not need a .default method since it's used internally only
vec_ptype2.character.ab_selector <- function(x, y, ...) {
vec_ptype2.character.amr_selector <- function(x, y, ...) {
x
}
vec_ptype2.ab_selector.character <- function(x, y, ...) {
vec_ptype2.amr_selector.character <- function(x, y, ...) {
y
}
vec_cast.character.ab_selector <- function(x, to, ...) {
vec_cast.character.amr_selector <- function(x, to, ...) {
unclass(x)
}
# S3: ab_selector_any_all ----
# S3: amr_selector_any_all ----
# this does not need a .default method since it's used internally only
vec_ptype2.logical.ab_selector_any_all <- function(x, y, ...) {
vec_ptype2.logical.amr_selector_any_all <- function(x, y, ...) {
x
}
vec_ptype2.ab_selector_any_all.logical <- function(x, y, ...) {
vec_ptype2.amr_selector_any_all.logical <- function(x, y, ...) {
y
}
vec_cast.logical.ab_selector_any_all <- function(x, to, ...) {
vec_cast.logical.amr_selector_any_all <- function(x, to, ...) {
unclass(x)
}