(v1.4.0.9032) auto-data guessing for functions

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-12-07 16:06:42 +01:00
1 parent fdf29e6c5b
commit 1bdb136b3a
38 files changed
+455 -353

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ like <- function(x, pattern, ignore.case = TRUE) {
# set to fixed if no regex found
fixed <- !any(is_possibly_regex(pattern))
if (ignore.case == TRUE) {
# set here, otherwise if fixed = TRUE, this warning will be thrown: argument 'ignore.case = TRUE' will be ignored
# set here, otherwise if fixed = TRUE, this warning will be thrown: argument `ignore.case = TRUE` will be ignored
x <- tolower(x)
pattern <- tolower(pattern)
}