todos: Get TODOs

Description Usage Arguments Details Value

View source: R/todo.R

Description

Search for #`` TODO tags

Usage

1
2
3
todos(pattern = NULL, ...)

fixmes(pattern = NULL, ...)

Arguments

pattern

A character string containing a regular expression to filter for comments after tags; default NULL does not filter

...

Additional parameters passed to grep (Except for pattern, x, and value)

Details

Calls git grep -in "[#] TODO" to find any lines with a comment. Removes any finds in the NAMESPACE

Value

NULL if none are found, otherwise a data.frame with the line number, file name, and TODO comment.


mark documentation built on July 16, 2021, 9:07 a.m.

Related to todos in mark...