diff --git a/DESCRIPTION b/DESCRIPTION
index 558e0511..20d4dcc8 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,5 +1,5 @@
Package: AMR
-Version: 1.4.0.9013
+Version: 1.4.0.9014
Date: 2020-11-09
Title: Antimicrobial Resistance Analysis
Authors@R: c(
diff --git a/NEWS.md b/NEWS.md
index e8f2d755..37ef27a5 100755
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,4 +1,4 @@
-# AMR 1.4.0.9013
+# AMR 1.4.0.9014
## Last updated: 9 November 2020
### New
diff --git a/R/mo.R b/R/mo.R
index 08fb4a32..026846c3 100755
--- a/R/mo.R
+++ b/R/mo.R
@@ -1417,7 +1417,7 @@ exec_as.mo <- function(x,
# - Becker et al. 2014, PMID 25278577
# - Becker et al. 2019, PMID 30872103
# - Becker et al. 2020, PMID 32056452
- post_Becker <- c("") # 2020-10-20 currently all are mentioned in above papers
+ post_Becker <- character(0) # 2020-10-20 currently all are mentioned in above papers
if (any(x %in% MO_lookup[which(MO_lookup$species %in% post_Becker), property])) {
warning("Becker ", font_italic("et al."), " (2014, 2019) does not contain these species named after their publication: ",
diff --git a/R/mo_property.R b/R/mo_property.R
index 7011fe06..ca1375de 100755
--- a/R/mo_property.R
+++ b/R/mo_property.R
@@ -140,9 +140,11 @@
#' language = "nl") # "Streptococcus groep A"
#'
#' # gram stains can be used as a filter
-#' example_isolates %>%
-#' filter(is_gram_positive())
-#'
+#' if (require("dplyr")) {
+#' example_isolates %>%
+#' filter(is_gram_positive())
+#' }
+#'
#' # other --------------------------------------------------------------------
#' # get a list with the complete taxonomy (from kingdom to subspecies)
#' mo_taxonomy("E. coli")
diff --git a/R/sysdata.rda b/R/sysdata.rda
index 00d266a6..736d43dc 100644
Binary files a/R/sysdata.rda and b/R/sysdata.rda differ
diff --git a/docs/404.html b/docs/404.html
index e697ec40..a151962d 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -81,7 +81,7 @@
NEWS.md
-
Functions is_gram_negative()
and is_gram_positive()
as wrappers around mo_gramstain()
. They always return TRUE
or FALSE
(except when the input is NA
or the MO code is UNKNOWN
), thus always return FALSE
for species outside the taxonomic kingdom of Bacteria. If you have the dplyr
package installed, they can even determine the column with microorganisms themselves inside dplyr
functions:
example_isolates %>% - filter(is_gram_positive()) + filter(is_gram_positive()) #> NOTE: Using column `mo` as input for 'x'
Functions %not_like%
and %not_like_case%
as wrappers around %like%
and %like_case%
. The RStudio addin to insert the text " %like% " as provided in this package now iterates over all like variants. So if you have defined the keyboard shortcut Ctrl/Cmd + L to this addin, it will first insert %like%
and by pressing it again it will be replaced with %not_like%
, etc.