clean_comments {todor} | R Documentation |
Clean line from comment tags
Description
Clean line from comment tags
Usage
clean_comments(line, pattern = NULL)
Arguments
line |
character with comment tag to remove |
pattern |
character with pattern to detect (default NULL) |
Value
cleaned character
Examples
## Not run:
clean_comments("#' TODO abc abc") #"TODO abc abc"
## End(Not run)
[Package todor version 0.1.2 Index]