Supply Chain Analytics Using R