You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
glob<-function(x, glob=NULL, regexp=NULL, invert=FALSE, ...) {
if (!is.null(glob)) {
if (!is.null(regexp)) {
stop("either `glob` or `regexp` should be NULL", call.=FALSE)
}
regexp<-utils::glob2rx(glob)
}
if (!is.null(regexp)) {
params<-list(...)
params$pattern<-regexpparams$x<-xparams$value<-TRUEparams$invert<- isTRUE(invert)
x<- do.call(grep, params)
}
x
}
The text was updated successfully, but these errors were encountered:
something like what's implemented in
fs::dir_ls()
The text was updated successfully, but these errors were encountered: