whereami (version 0.2.0)

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"),
  ...
)

Value

character

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_*.

Author

Colin Fay

Examples

Run this code
 cat_where(whereami())
 cat_where(whereami(), type = "bullet", bullet = "tick")
 cat_where(whereami(), color = "green")

Run the code above in your browser using DataLab