1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-11 07:01:57 +02:00

(v1.1.0.9007) lose dependencies

This commit is contained in:
2020-05-16 21:40:50 +02:00
parent 29609a0e2c
commit f68d71a5e0
44 changed files with 178 additions and 140 deletions

View File

@ -57,10 +57,12 @@
#' #> TRUE TRUE TRUE
#'
#' # get isolates whose name start with 'Ent' or 'ent'
#' \dontrun{
#' library(dplyr)
#' example_isolates %>%
#' filter(mo_name(mo) %like% "^ent") %>%
#' freq(mo)
#' }
like <- function(x, pattern, ignore.case = TRUE) {
# set to fixed if no regex found
fixed <- all(!grepl("[$.^*?+}{|)(]", pattern))