(v2.1.1.9160) cleanup

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-02-26 20:28:33 +01:00
1 parent 0c3ea4b538
commit 22e66741cc
13 files changed
+38 -50

No files matched your search

+3 -5
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"),