(v1.3.0.9038) prefinal 1.4.0

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-10-04 19:26:43 +02:00
1 parent 3136bc54aa
commit baf510183c
89 files changed
+570 -548

No files matched your search

+3 -2
View File
@@ -188,8 +188,9 @@ search_type_in_df <- function(x, type, info = TRUE) {
}
is_possibly_regex <- function(x) {
sapply(strsplit(x, ""),
function(y) any(y %in% c("$", "(", ")", "*", "+", "-", ".", "?", "[", "]", "^", "{", "|", "}", "\\"), na.rm = TRUE))
tryCatch(sapply(strsplit(x, ""),
function(y) any(y %in% c("$", "(", ")", "*", "+", "-", ".", "?", "[", "]", "^", "{", "|", "}", "\\"), na.rm = TRUE)),
error = function(e) rep(TRUE, length(x)))
}
stop_ifnot_installed <- function(package) {