1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-18 01:23:16 +02:00

(v2.1.1.9160) cleanup

This commit is contained in:
2025-02-26 20:28:33 +01:00
parent 0c3ea4b538
commit 22e66741cc
13 changed files with 38 additions and 50 deletions

View File

@ -50,11 +50,8 @@ Use \code{\link[=clear_custom_antimicrobials]{clear_custom_antimicrobials()}} to
}
\examples{
\donttest{
# returns NA and throws a warning (which is suppressed here):
suppressWarnings(
as.ab("testab")
)
# returns a wildly guessed result:
as.ab("testab")
# now add a custom entry - it will be considered by as.ab() and
# all ab_*() functions
@ -90,6 +87,7 @@ ab_atc("Co-fluampicil")
ab_name("J01CR50")
# even antimicrobial selectors work
# see ?amr_selector
x <- data.frame(
random_column = "some value",
coflu = as.sir("S"),