process_file {todor} | R Documentation |
It calls find_pattern
on given file and return detected markers or NULL.
process_file(filepath, patterns)
filepath |
character with |
patterns |
vector of characters with given patterns to detect, e.g. c("TODO", "BUG") |
list of markers (which are lists describing properties of detected item from find_pattern)