str_detect_in_file.Rd
Detect string in file
str_detect_in_file(file, pattern, only_comments = FALSE, collapse = FALSE)
Path to file.
Pattern to match.
default FALSE. Whether to only search in commented lines.
default: FALSE: search file line by line. If true, then pattern is search in the entire file at once after collapsing. (only_comments does not work when collapse is set to TRUE)
Boolean whether pattern exists in file.