Skip to content

Instantly share code, notes, and snippets.

@tallguyjenks
Last active November 19, 2020 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tallguyjenks/4d058803f7fca808e7d807df34f4ffff to your computer and use it in GitHub Desktop.
Save tallguyjenks/4d058803f7fca808e7d807df34f4ffff to your computer and use it in GitHub Desktop.
Todor options()
# ....how to change searchable types for the function ----
options(todor_patterns = c("FIXME", "TODO"))
# This is to expand the scope of searches ----
# ....how to switch off markdown search ----
options(todor_rmd = T) # default is on / TRUE
# ....how to switch off rnw search ----
options(todor_rnw = T) # sweave files
# ....how to switch off rhtml search ----
options(todor_rhtml = T) # R Notebooks
# ....how to switch off packrat search ----
options(todor_exclude_packrat = T) # ignore all notes in files downloaded by packrat you probably very much want this
# ....how to switch off r/R search ----
options(todor_exclude_r = F) # rscript files you probably dont want to ignore these default is FALSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment