mirror of
https://github.com/msberends/AMR.git
synced 2025-07-11 03:02:03 +02:00
(v1.4.0.9032) auto-data guessing for functions
This commit is contained in:
2
R/like.R
2
R/like.R
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user