feedback_to_ui: Feedback to the user with a modal. Internal use.

Description Usage Arguments Value

View source: R/feedback.R

Description

Helper function for the feedback function to show modals to the gui/user. Everything will also be added to the logfile. Internal use. Use the robust 'feedback' function instead.

Usage

1
feedback_to_ui(print_this, type, logfile_dir, headless)

Arguments

print_this

(Optional, String, default: "")

type

(Optional, String, default: "Info") E.g. "Warning", "Error. Default: "Info"

logfile_dir

(Optional, String, default: "tempdir()") The absolute path to folder where the logfile will be stored.

headless

(Optional, Boolean, default: TRUE) Indicating, if the function is run only in the console (headless = TRUE) or on a GUI frontend (headless = FALSE).

Value

No return value, called for side effects (see description)


miracum/misc-dizutils documentation built on Nov. 21, 2020, 7:41 p.m.