projects
projects copied to clipboard
Deadline Functionality
We could make a deadlines() function that is basically a dedicated print method for displaying upcoming deadlines.
deadlines <- function(horizon = Inf){
projects() %>%
filter(!is.na(deadline)) %>%
arrange(deadline)
}
Maybe there could be a .Renviron object that allows the user to have their deadlines displayed whenever the projects package is loaded.
Come to think of it, I'd prefer to see projects() output whenever the package is loaded, without having to additionally type projects() to see it. So the .Renviron parameter could be something like c("projects", "deadlines", "both")
Which columns do you envision being in this output?
i guess i was just thinking the default projects()
output, appended with the deadline column.
I understand. Is horizon
a maximum deadline date? That is, any projects with deadlines after horizon
will be excluded?
Something to consider is that projects will be at the top of the list if they have a long-past deadline. Users will have to manually remove old deadlines. Maybe that's the point though--to motivate the user to curating their projects()
list a little better?
Yes all around.