use dplyr where available, new antibiogram() for WISCA, fixed Salmonella Typhi/Paratyphi

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-02-06 11:57:22 +01:00
1 parent 4b133d4c96
commit 9e99e66f01
69 files changed
+1670 -650

No files matched your search

+3 -3
View File
@@ -114,9 +114,9 @@ as.disk <- function(x, na.rm = FALSE) {
na_after <- length(x[is.na(x)])
if (na_before != na_after) {
list_missing <- x.bak[is.na(x) & !is.na(x.bak)] %pm>%
unique() %pm>%
sort() %pm>%
list_missing <- x.bak[is.na(x) & !is.na(x.bak)] %>%
unique() %>%
sort() %>%
vector_and(quotes = TRUE)
cur_col <- get_current_column()
warning_("in `as.disk()`: ", na_after - na_before, " result",