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) {
}
#' @rdname dimnames.lgb.Dataset
#' @return A list with the dimension names of the dataset
#' @export
`dimnames<-.lgb.Dataset` <- function(x, value) {
......@@ -1024,7 +1023,6 @@ getinfo <- function(dataset, ...) {
}
#' @rdname getinfo
#' @return info data
#' @export
getinfo.lgb.Dataset <- function(dataset, name, ...) {
......@@ -1079,7 +1077,6 @@ setinfo <- function(dataset, ...) {
}
#' @rdname setinfo
#' @return the dataset you passed in
#' @export
setinfo.lgb.Dataset <- function(dataset, name, info, ...) {
......
......@@ -16,8 +16,6 @@
and the second one is column names}
}
\value{
A list with the dimension names of the dataset
A list with the dimension names of the dataset
}
\description{
......
......@@ -17,8 +17,6 @@ getinfo(dataset, ...)
\item{name}{the name of the information field to get (see details)}
}
\value{
info data
info data
}
\description{
......
......@@ -19,8 +19,6 @@ setinfo(dataset, ...)
\item{info}{the specific field of information to set}
}
\value{
the dataset you passed in
the dataset you passed in
}
\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