R/view_current_project_log.R

Defines functions view_current_project_log

Documented in view_current_project_log

#' Can view the current project log
#' @param dir_name name of the directory to focus on. If NULL, will print back the entire list of directories that is being tracked
#' @export

view_current_project_log <-
        function(dir_name = NULL) {
                if (is.null(dir_name)) {
                        print(PROJECT_LOG$CURRENT)
                } else {
                        print(PROJECT_LOG$CURRENT[[dir_name]])
                }
        }
patelm9/projectloggeR documentation built on Nov. 4, 2019, 11:21 p.m.