R 4.3 - Add a Warning or Stop the Function Execution
submitted by jameson 07/23/141
The most helpful functions return clear warnings and errors when something is wrong. This video introduces the warning() and stop() functions, which can be used within a function to report a warning to the user or stop the function's execution.