mirror of
https://github.com/msberends/AMR.git
synced 2025-07-10 01:02:47 +02:00
custom ab fix
This commit is contained in:
@ -33,6 +33,8 @@ add_custom_antimicrobials(
|
||||
Use \code{\link[=clear_custom_antimicrobials]{clear_custom_antimicrobials()}} to clear the previously added antimicrobials.
|
||||
}
|
||||
\examples{
|
||||
\donttest{
|
||||
|
||||
# returns NA and throws a warning (which is now suppressed):
|
||||
suppressWarnings(
|
||||
as.ab("test")
|
||||
@ -74,3 +76,4 @@ x <- data.frame(random_column = "test",
|
||||
x
|
||||
x[, betalactams()]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user