Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
9c0e477a
Unverified
Commit
9c0e477a
authored
Feb 14, 2021
by
Philip Khor
Committed by
GitHub
Feb 13, 2021
Browse files
remove redundant returns (#3955)
parent
50e061f3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
9 deletions
+0
-9
R-package/R/lgb.Dataset.R
R-package/R/lgb.Dataset.R
+0
-3
R-package/man/dimnames.lgb.Dataset.Rd
R-package/man/dimnames.lgb.Dataset.Rd
+0
-2
R-package/man/getinfo.Rd
R-package/man/getinfo.Rd
+0
-2
R-package/man/setinfo.Rd
R-package/man/setinfo.Rd
+0
-2
No files found.
R-package/R/lgb.Dataset.R
View file @
9c0e477a
...
...
@@ -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
,
...
)
{
...
...
R-package/man/dimnames.lgb.Dataset.Rd
View file @
9c0e477a
...
...
@@ -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{
...
...
R-package/man/getinfo.Rd
View file @
9c0e477a
...
...
@@ -17,8 +17,6 @@ getinfo(dataset, ...)
\item{name}{the name of the information field to get (see details)}
}
\value{
info data
info data
}
\description{
...
...
R-package/man/setinfo.Rd
View file @
9c0e477a
...
...
@@ -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{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment