All Projects → dokato → Todor

dokato / Todor

Licence: other
TODOr - RStudio add-in for finding TODO, FIXME, CHANGED etc. comments in your code.

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Todor

Leaflet.motion
A simple tool to animate polylines and polygons in different way
Stars: ✭ 76 (-48.99%)
Mutual labels:  markers
Imgnotes
Extension of the jQuery imgViewer plugin to add markers and notes to the image
Stars: ✭ 98 (-34.23%)
Mutual labels:  markers
Vision landing
Precision landing using visual targets
Stars: ✭ 131 (-12.08%)
Mutual labels:  markers
Wraprmd
RStudio addin for wrapping RMarkdown paragraphs
Stars: ✭ 87 (-41.61%)
Mutual labels:  rstudio
Blogdown
Create Blogs and Websites with R Markdown
Stars: ✭ 1,327 (+790.6%)
Mutual labels:  rstudio
Shinyapps links
A collection of Shiny applications (links shared on Twitter)
Stars: ✭ 109 (-26.85%)
Mutual labels:  rstudio
Intro To R
Stars: ✭ 71 (-52.35%)
Mutual labels:  rstudio
Rtutor
Creating interactive R Problem Sets. Automatic hints and solution checks. (Shiny or RStudio)
Stars: ✭ 141 (-5.37%)
Mutual labels:  rstudio
Ar Alphabets
Augmented Reality on Web (Web AR) for Kids to learn Alphabets with fun. AR on all Mobile Devices
Stars: ✭ 98 (-34.23%)
Mutual labels:  markers
Angularjs Google Maps
The Simplest AngularJS Google Maps V3 Directive
Stars: ✭ 1,557 (+944.97%)
Mutual labels:  markers
Trackmd
Tools for tracking changes in Markdown format within RStudio
Stars: ✭ 89 (-40.27%)
Mutual labels:  rstudio
R Course
Una introduccion al analisis de datos con R y R Studio
Stars: ✭ 93 (-37.58%)
Mutual labels:  rstudio
Rbert
Implementation of BERT in R
Stars: ✭ 114 (-23.49%)
Mutual labels:  rstudio
Examples
Self-contained examples for the legacy Maps API for JavaScript.
Stars: ✭ 78 (-47.65%)
Mutual labels:  markers
Rstudiothemes
A curated list of RStudio themes found on Github
Stars: ✭ 134 (-10.07%)
Mutual labels:  rstudio
Darkstudio
darkstudio. A dark grey alternative to RStudio's default dark theme.
Stars: ✭ 75 (-49.66%)
Mutual labels:  rstudio
Tileview
TileView is a subclass of android.view.ViewGroup that asynchronously displays, pans and zooms tile-based images. Plugins are available for features like markers, hotspots, and path drawing.
Stars: ✭ 1,447 (+871.14%)
Mutual labels:  markers
Rcade
Games to procrastinate with RStudio
Stars: ✭ 146 (-2.01%)
Mutual labels:  rstudio
Arcarmovement
This is navigation example on google map. Here Marker move as vehicles moves with turns as uber does in their app. Using old and new coordinates animating bearing value the markers are moving.
Stars: ✭ 137 (-8.05%)
Mutual labels:  markers
Doing Meta Analysis In R
All R codes for the guide "Doing Meta-Analysis in R"
Stars: ✭ 115 (-22.82%)
Mutual labels:  rstudio

TODOr

cranlogs total

This is RStudio addin that finds all TODO, FIXME, CHANGED etc. comments in your project or package and shows them as a markers list.

Installation

Stable release from CRAN:

install.packages("todor")

The latest version:

devtools::install_github("dokato/todor")
# or
remotes::install_github("dokato/todor")

How to use it?

When you write an R package, sometimes it's useful to make a note in comments about a place for improvement.

simple_function <- function(a, b) {
  # TODO in the future check the type of input here
  a + b
}

With TODOr, detecting such places in the forest of code lines is simple. There are several options to do so. You can click at "Addins" button in the top panel and select one of the options:

  • "Find active file TODOs" (for the active file in RStudio editor)
  • "Find package TODOs" (if you are creating package)
  • "Find project TODOs" (if you are inside the RStudio project)

Addins panel

It is also possible to call todor directly from RStudio console:

> todor::todor()

or you can call:

> todor::todor(c("TODO"))

to limit todor detection only to "TODO" tags.

HINT: By default todor works on projects, but you can call todor_package to search an entire package.

Regardless of the option that you have chosen, as a result you should see the Markers tab next to your console window in RStudio.

TODO Markers

To perform the search on a single file just call:

> todor::todor_file("path_to_file.R")

For more thorough walkthrough check this video-tutorial: https://youtu.be/f4mTYyD2C-8

What can it detect?

By default TODOr looks for the following notes: FIXME, TODO, CHANGED, IDEA, HACK, NOTE, REVIEW, BUG, QUESTION, COMBAK, TEMP.

But you may change it by setting todor_patterns option, for example:

options(todor_patterns = c("FIXME", "TODO", "CUSTOM"))

Markdown

In markdown you probably don't want to use # comments. But that's okay, as TODOr supports HTML-like comments too.

# Section

<!-- TODO Change this section. -->

* Very important element.

You can switch off the markdown search:

options(todor_rmd = FALSE)

Other options

Searching through Rnw files (a default option is set below).

options(todor_rnw = TRUE)

Searching through Rhtml files.

options(todor_rhtml = FALSE)

Searching through R, r files.

options(todor_exclude_r = FALSE)

Excluding packrat directory.

options(todor_exclude_packrat = TRUE)

Including extra file formats.

options(todor_extra = c("txt", "dat"))
options(todor_extra = NULL)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].