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")
We could make a deadlines() function that is basically a dedicated print method for displaying upcoming deadlines.
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")