An error I can't understand. “Promise already under evaluation…” [duplicate]
问题 This question already has answers here : promise already under evaluation: recursive default argument reference or earlier problems? (3 answers) Closed 6 years ago . I am trying to write a function that finds pattern in names, with the help of stringr package. My function looks like following: namezz=function(thepatternx,data=data,column=Name){ library(stringr) thepattern=as.character(quote(thepatternx)) pattern <- thepattern strings <- data$column ##data$column is a character vector found