give_feedback: Print feedback in console

View source: R/input-check.R

give_feedbackR Documentation

Print feedback in console

Description

Helper that gives feedback with a function of choice.

Usage

give_feedback(
  fdb.fn = "message",
  msg = NULL,
  in.shiny = FALSE,
  with.time = TRUE,
  verbose = TRUE,
  ...
)

Arguments

fdb.fn

Character value. Determines the function to call if a feedback message needs to be given. One of 'stop', 'warning' or 'message'.

msg

Character value or glue. The message to be printed in the console.

in.shiny

Allows to use the function to stop a function without crashing a shiny session.

with.time

Logical value. Indicates whether the current time is to be added to the feedback message.

verbose

Logical. If set to TRUE informative messages regarding the computational progress will be printed.

(Warning messages will always be printed.)


kueckelj/confuns documentation built on June 28, 2024, 9:19 a.m.