mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
(v1.2.0.9034) code cleaning
This commit is contained in:
1 parent
c0cf7ab02b
commit
6ab468362d
36 files changed
+266
-265
No files matched your search
+1
-1
@@ -216,7 +216,7 @@ ab_property <- function(x, property = "name", language = get_locale(), ...) {
|
||||
stop_if(length(property) != 1L, "'property' must be of length 1.")
|
||||
stop_ifnot(property %in% colnames(antibiotics),
|
||||
"invalid property: '", property, "' - use a column name of the `antibiotics` data set")
|
||||
|
||||
|
||||
translate_AMR(ab_validate(x = x, property = property, ...), language = language)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user