Derivative of Absolute Function

Please, can anyone help me about getting the derivative of the absolute function in r? I used the D and deriv, but I what I got is that the Function 'abs' is not in the derivatives table.

Welcome to the community!

Absolute function is not differentiable everywhere. At 0, it's derivative does not exist. At any other point, you can use the sign function.