messaging: messaging

Description Usage Arguments Value

View source: R/grab_and_attach.R

Description

helper function for messaging

Usage

1
messaging(msg, msg_mode = c("cat", "message"), color)

Arguments

msg

A string message to display

msg_mode

2 baseline modes are available for displaying the 'msg' string: cat or message. They are the default options in case the user does not have 'cli' package installed that allows colored outputs.

color

Color the 'msg' to be displayed in. Will be ignored if the 'cli' package, that allows colored outputs, is not installed.

Value

Nothing, just prints to stdout.


Patrikios/grab_and_attach documentation built on Jan. 3, 2022, 12:47 p.m.