if (FALSE) {
options(toggl_api_token = "XXXXXXXX")# set your toggl api token here
time_entry_id <- toggl_create(duration=1200)
toggl_update_entries( time_entry_id,
description = "new description",
duration = 100,
tags = c("tag1", "tag2"),
api_token=get_toggl_api_token())
}
Run the code above in your browser using DataLab