R/logo.R

Defines functions lares_logo

Documented in lares_logo

####################################################################
#' Print lares R library Logo
#'
#' Used "ASCII Art Generator" from manytools.org to convert logo to ASCII.
#' \href{https://manytools.org/hacker-tools/convert-images-to-ascii-art/}{Visit}.
#'
#' @param version Boolean. Include R and lares version?
#' @examples
#' lares_logo()
#' @export
 <- function(version = TRUE) {
  cat(paste("
                            (((((
                 *     /(((((((((((((*     (
                   (((/              /((((
        /     .(                           (((
    .     ((                                  *(((/     (
      (((                                        ((((((
   ,(((((((((                                     (((((((
   ,((((((((((((       (((((/**((((((              *(((((
   ,(((((((((((((((((,                ((            (((((
   ,((((((((((((((((    ,((((((((       ((          *((((
   ,###################            #*     #/        ,####
   *################.               .#     #        #####
   *##############                   (######        #####
   *###########,   .#####,            ##           ######
   *#########    ###########          ##          #######
   *#######    ###  ,#####           ###         ########
   *#############                    ##.        #########
   *###########                      ##        ##########
    ##########                       ##       ######*,###
  ,     ####               ####      ###     ####  #(     /
      (     .#         /%%%%%%%%%%%%%%%%#    %%%      @
                 %%%%%%%%%%%%%%%%%%%%%%%%%
               /     #%%%%%%%%%%%%%%%%%*     /
                          %%%%%%%%%
                              %
                            /   %
"))
  if (version) {
    temp <- packageDescription("lares")
    ver <- paste(ifelse(is.null(temp$Repository), "dev", "stable"),
      temp$Version,
      sep = "-"
    )
    cat(paste("\nlares:", ver, "\n"))
    cat(R.version$version.string)
  }
}
laresbernardo/lares documentation built on April 25, 2024, 5:31 a.m.