Open gael-millot opened 3 weeks ago
internal_fun_names <- base::unlist(base::lapply(X = code, FUN = function(x){ output <- base::sub(pattern = "^\\s*([a-zA-Z]|\\.[a-zA-Z._])[a-zA-Z0-9._]*\\s*<-[\\s\\r\\n]*function[\\s\\r\\n]*\\(.*", replacement = "\\1", x = x, perl = TRUE)
probably because of sub()
probably because of sub()