Closed conig closed 3 years ago
Yes that structure would work. Looks great. @tarensanders can you review?
Sorry for the late reply, gents. This looks awesome.
No worries @tarensanders, got some work done :P
This should be working now. If path is provided it will write the todo to disk. Otherwise it just prints to console (the default).
Putting an X before the todo indicates the task is completed.
<!--|X|TODO| example-->
library(tidyMB)
file <- system.file("tests/test_doc.rmd", package = "tidyMB")
create_todo(file, path = NULL)
#> ### James
#> - [X] write TODO function (example 2)
#> - [ ] polish scalp
#>
#> ### Taren
#> - [ ] build ASANA API ;)
#>
#> ### Unassigned
#> - [X] make todo work with no assignment
@pdparker mentioned that it would be useful to have a function which could extract all comments and assign tasks in a todo list. What platform did you have in mind for the todo list? a plain text list markdown list would be very simple to achieve.
E.g.
I've added a function which can extract comment text out of a rmd:
In terms of the interface, the following could work:
Did you guys have anything in particular in mind?