Unverified Commit 9c0e477a authored by Philip Khor's avatar Philip Khor Committed by GitHub
Browse files

remove redundant returns (#3955)

parent 50e061f3
...@@ -908,7 +908,6 @@ dimnames.lgb.Dataset <- function(x) { ...@@ -908,7 +908,6 @@ dimnames.lgb.Dataset <- function(x) {
} }
#' @rdname dimnames.lgb.Dataset #' @rdname dimnames.lgb.Dataset
#' @return A list with the dimension names of the dataset
#' @export #' @export
`dimnames<-.lgb.Dataset` <- function(x, value) { `dimnames<-.lgb.Dataset` <- function(x, value) {
...@@ -1024,7 +1023,6 @@ getinfo <- function(dataset, ...) { ...@@ -1024,7 +1023,6 @@ getinfo <- function(dataset, ...) {
} }
#' @rdname getinfo #' @rdname getinfo
#' @return info data
#' @export #' @export
getinfo.lgb.Dataset <- function(dataset, name, ...) { getinfo.lgb.Dataset <- function(dataset, name, ...) {
...@@ -1079,7 +1077,6 @@ setinfo <- function(dataset, ...) { ...@@ -1079,7 +1077,6 @@ setinfo <- function(dataset, ...) {
} }
#' @rdname setinfo #' @rdname setinfo
#' @return the dataset you passed in
#' @export #' @export
setinfo.lgb.Dataset <- function(dataset, name, info, ...) { setinfo.lgb.Dataset <- function(dataset, name, info, ...) {
......
...@@ -16,8 +16,6 @@ ...@@ -16,8 +16,6 @@
and the second one is column names} and the second one is column names}
} }
\value{ \value{
A list with the dimension names of the dataset
A list with the dimension names of the dataset A list with the dimension names of the dataset
} }
\description{ \description{
......
...@@ -17,8 +17,6 @@ getinfo(dataset, ...) ...@@ -17,8 +17,6 @@ getinfo(dataset, ...)
\item{name}{the name of the information field to get (see details)} \item{name}{the name of the information field to get (see details)}
} }
\value{ \value{
info data
info data info data
} }
\description{ \description{
......
...@@ -19,8 +19,6 @@ setinfo(dataset, ...) ...@@ -19,8 +19,6 @@ setinfo(dataset, ...)
\item{info}{the specific field of information to set} \item{info}{the specific field of information to set}
} }
\value{ \value{
the dataset you passed in
the dataset you passed in the dataset you passed in
} }
\description{ \description{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment