powered by
Clean line from comment tags
clean_comments(line, pattern = NULL)
character with comment tag to remove
character with pattern to detect (default NULL)
cleaned character
# NOT RUN { clean_comments("#' TODO abc abc") #"TODO abc abc" # }
Run the code above in your browser using DataLab