clean_comments {todor} | R Documentation |
Clean line from comment tags
clean_comments(line, pattern = NULL)
line |
character with comment tag to remove |
pattern |
character with pattern to detect (default NULL) |
cleaned character
## Not run:
clean_comments("#' TODO abc abc") #"TODO abc abc"
## End(Not run)