Debugging tools are built with R do not part of any package. There are couple of indications that something is not right. It could be a diagnostic message something to happed.Basically three type of main indications.
So this is our basic warning, take a log of negative number
- message: A generic notification/diagnostic message produced by the message function; execution of the function continues
- warning: An indication that something is wrong but not necessarily fatal;execution of the function continues generated by the warning function
- error: An indication that a fatal problem has occurred; execution stops;produced by the stop function
So this is our basic warning, take a log of negative number
>log(-1)
[1] NaN
Warning message:
In log(-1) : NaNs produced
[1] NaN
Warning message:
In log(-1) : NaNs produced