clean_comments: Clean line from comment tags

Description Usage Arguments Value Examples

View source: R/patterns.R

Description

Clean line from comment tags

Usage

1

Arguments

line

character with comment tag to remove

pattern

character with pattern to detect (default NULL)

Value

cleaned character

Examples

1
2
3
4
## Not run: 
clean_comments("#' TODO abc abc") #"TODO abc abc"

## End(Not run)

todor documentation built on May 24, 2021, 5:07 p.m.

Related to clean_comments in todor...