Cannot Resolve Method Success In R