R/environment_info.R

Defines functions environment_info

Documented in environment_info

#' A function to print info and praise about current environment
#'
#' More details about what the function does goes on this line
#'
#' @param msg The message that should be printed
#'
#' @keywords debugging
#'
#' @export
#'
#' @examples
#' environment_info("This is an important message from your sponsor.")

environment_info <- function( msg = "RRRRRRR!"){
  msg = msg
  print(devtools::session_info())
  print(praise::praise())
  print(paste("Also print the incoming message: ", msg))
}
ryanpeek/mytools documentation built on Dec. 22, 2021, 8:18 p.m.