TodoItem-class: A Reference Class to represent a todo list item

Description Fields Methods

Description

A Reference Class to represent a todo list item

Fields

itemText

Text of the todo list item

timeCreated

Time item was created

timeCompleted

Time item was completed

isCompleted

Has the item been completed?

itemID

Integer identifier of the todo item.

Methods

addComment(text, erase = FALSE)

Add a comment to an item

as.data.frame()

Convert an item to a data.frame

markComplete()

Mark an item as complete

markIncomplete()

Mark a completed item incomplete.

setStatus(newStatus = c("incomplete", "completed", "removed"))

set the status of a todo item


markwh/todoList documentation built on May 21, 2019, 12:37 p.m.