dokato / todor

TODOr - RStudio add-in for finding TODO, FIXME, CHANGED etc. comments in your code.
Other
246 stars 12 forks source link

Packrat support #20

Closed algogym closed 5 years ago

algogym commented 5 years ago

Hi. I really like the todoR-Package functionalities. When working with packrat in a project, the todor() function also searched through directories and files within the packrat directory, which lead to the display of all TODOs in all the installed packages, which makes the output rather unclear.

I added the exclusion of the packrat directory as a default, as the occasions where you want to do something to a package source code in a packrat directory might be quite rare. The directory can be included via options(todor_exclude_packrat = FALSE)

Best, Tim

algogym commented 5 years ago

And sorry for the four commits... just typos i found whenever i had commited

dokato commented 5 years ago

Thanks, @tgraf0 ! That's indeed really helpful. LGTM.