Description Usage Arguments Examples
Track a task by using tt()
.
1 2 |
... |
a string that allows for a shorthand means to track time for some task. |
task |
the task description. |
s |
the start time for the task. Must be
in the ISO date/time format of |
e |
the end time for the task. Must be
in the ISO date/time format of |
lbl |
a label to use for the event. |
proj |
project information for the event. |
info |
information pertaining to the event. |
write |
a logical value indicating whether the tracked task entry should be written to disk. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | ## Not run:
# Add a tracked task using `tt()`; it will
# be committed to the ttt_dir; information
# on the tracked task will be echoed back
tt(
task = "Description of the task",
s = "2018-05-24 12:30",
e = "2018-05-24 13:00",
lbl = "label",
proj = "project_name",
info = "Any additional information")
#> tracked task entry
#> ------------------
#> t: Description of the task
#> s: 2018-05-24 11:30
#> e: 2018-05-24 12:00
#> l: label
#> p: project_name
#> i: Any additional information
# We can also use the shorthand notation
tt("
t: Description of the task;
s: 2018-05-24 11:30;
e: 2018-05-24 12:00;
l: label;
p: project_name;
i: Any additional information
")
#> tracked task entry
#> ------------------
#> t: Description of the task
#> s: 2018-05-24 11:30
#> e: 2018-05-24 12:00
#> l: label
#> p: project_name
#> i: Any additional information
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.