[R-package] raise an informative error when custom objective produces incorrect output (fixes #5323) (#5329)
Attach a file by drag & drop or click to upload