R/add_project_note.R

Defines functions add_project_note

Documented in add_project_note

#' Add entry to PROJECT_NOTEPAD.txt from console
#' @param entry R object of the character string of length one or character string of length 1
#' @importFrom mirroR get_timestamp
#' @export

add_project_note <-
        function(entry) {
        if (!(file.exists("PROJECT_NOTEPAD.txt"))) {
                initialize_project_notepad()
        }
                cat(entry,
                    file = "PROJECT_NOTEPAD.txt",
                    fill = TRUE,
                    labels = mirroR::get_timestamp())
                update_project_notepad()
}
patelm9/projektoR documentation built on Dec. 18, 2019, 5:55 a.m.