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.
feedback_to_ui(print_this, type, logfile_dir, headless = FALSE)
(Optional, String, default: "")
(Optional, String, default: "Info") E.g. "Warning", "Error". Default: "Info"
(Optional, String, default: "tempdir()") The absolute path to folder where the logfile will be stored.
(Optional, Boolean, default: TRUE) Indicating, if the function is run only in the console (headless = TRUE) or on a GUI frontend (headless = FALSE).
No return value, called for side effects (see description)