R/notification.R

Defines functions notification

Documented in notification

#' show notification
#'
#' show notification using message
#' @param title title of the notificatin
#' @param msg content of the notification
#'
#' @export
#'
notification <- function(title,msg){
  
  # if (requireNamespace("notifier", quietly = TRUE)){
  #   notifier::notify(
  #     title = paste(title," START")
  #     ,msg = msg
  #   )}else{
      
      message(title," - ",msg)
      
      
  # }
  
  
  
  
}
ThinkR-open/togglr documentation built on Feb. 20, 2024, 7:18 p.m.