whereami (version 0.1.8.1)

cat_where: cat function for whereami

Description

cat function for whereami output

Usage

cat_where(where, type = c("rule", "boxx", "bullet", "line", "print"),
  color = c("none", "black", "blue", "cyan", "green", "magenta", "red",
  "white", "yellow", "grey", "silver"), ...)

Arguments

where

whereami output

type

cli cat_* method. Can be boxx, bullet, line, print, rule. Default is rule.

color

cli col_* method.

...

further arguments passed to cli::cat_*.

Value

character

Examples

Run this code
# NOT RUN {
 cat_where(whereami())
 cat_where(whereami(), type = "bullet", bullet = "tick")
 cat_where(whereami(), color = "green")
# }

Run the code above in your browser using DataCamp Workspace