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
332559c0
Unverified
Commit
332559c0
authored
Oct 17, 2020
by
James Lamb
Committed by
GitHub
Oct 17, 2020
Browse files
[R-package] remove deprecation warnings on lgb.prepare() functions (#3444)
parent
c0c65f76
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
111 deletions
+0
-111
R-package/NAMESPACE
R-package/NAMESPACE
+0
-4
R-package/R/removed.R
R-package/R/removed.R
+0
-39
R-package/man/lgb.prepare.Rd
R-package/man/lgb.prepare.Rd
+0
-17
R-package/man/lgb.prepare2.Rd
R-package/man/lgb.prepare2.Rd
+0
-17
R-package/man/lgb.prepare_rules.Rd
R-package/man/lgb.prepare_rules.Rd
+0
-17
R-package/man/lgb.prepare_rules2.Rd
R-package/man/lgb.prepare_rules2.Rd
+0
-17
No files found.
R-package/NAMESPACE
View file @
332559c0
...
@@ -24,10 +24,6 @@ export(lgb.load)
...
@@ -24,10 +24,6 @@ export(lgb.load)
export(lgb.model.dt.tree)
export(lgb.model.dt.tree)
export(lgb.plot.importance)
export(lgb.plot.importance)
export(lgb.plot.interpretation)
export(lgb.plot.interpretation)
export(lgb.prepare)
export(lgb.prepare2)
export(lgb.prepare_rules)
export(lgb.prepare_rules2)
export(lgb.save)
export(lgb.save)
export(lgb.train)
export(lgb.train)
export(lgb.unloader)
export(lgb.unloader)
...
...
R-package/R/removed.R
deleted
100644 → 0
View file @
c0c65f76
#' @title removed functions
#' @name lgb.prepare
#' @description removed functions
#' @param ... catch-all to match old calls
#' @return Nothing. This function always raises an exception
#' @export
lgb.prepare
<-
function
(
...
)
{
stop
(
"lgb.prepare() was removed in LightGBM 3.0.0. Please use lgb.convert_with_rules()"
)
}
#' @title removed functions
#' @name lgb.prepare2
#' @description removed functions
#' @param ... catch-all to match old calls
#' @return Nothing. This function always raises an exception
#' @export
lgb.prepare2
<-
function
(
...
)
{
stop
(
"lgb.prepare2() was removed in LightGBM 3.0.0. Please use lgb.convert_with_rules()"
)
}
#' @title removed functions
#' @name lgb.prepare_rules
#' @description removed functions
#' @param ... catch-all to match old calls
#' @return Nothing. This function always raises an exception
#' @export
lgb.prepare_rules
<-
function
(
...
)
{
stop
(
"lgb.prepare_rules() was removed in LightGBM 3.0.0. Please use lgb.convert_with_rules()"
)
}
#' @title removed functions
#' @name lgb.prepare_rules2
#' @description removed functions
#' @param ... catch-all to match old calls
#' @return Nothing. This function always raises an exception
#' @export
lgb.prepare_rules2
<-
function
(
...
)
{
stop
(
"lgb.prepare_rules2() was removed in LightGBM 3.0.0. Please use lgb.convert_with_rules()"
)
}
R-package/man/lgb.prepare.Rd
deleted
100644 → 0
View file @
c0c65f76
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/removed.R
\name{lgb.prepare}
\alias{lgb.prepare}
\title{removed functions}
\usage{
lgb.prepare(...)
}
\arguments{
\item{...}{catch-all to match old calls}
}
\value{
Nothing. This function always raises an exception
}
\description{
removed functions
}
R-package/man/lgb.prepare2.Rd
deleted
100644 → 0
View file @
c0c65f76
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/removed.R
\name{lgb.prepare2}
\alias{lgb.prepare2}
\title{removed functions}
\usage{
lgb.prepare2(...)
}
\arguments{
\item{...}{catch-all to match old calls}
}
\value{
Nothing. This function always raises an exception
}
\description{
removed functions
}
R-package/man/lgb.prepare_rules.Rd
deleted
100644 → 0
View file @
c0c65f76
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/removed.R
\name{lgb.prepare_rules}
\alias{lgb.prepare_rules}
\title{removed functions}
\usage{
lgb.prepare_rules(...)
}
\arguments{
\item{...}{catch-all to match old calls}
}
\value{
Nothing. This function always raises an exception
}
\description{
removed functions
}
R-package/man/lgb.prepare_rules2.Rd
deleted
100644 → 0
View file @
c0c65f76
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/removed.R
\name{lgb.prepare_rules2}
\alias{lgb.prepare_rules2}
\title{removed functions}
\usage{
lgb.prepare_rules2(...)
}
\arguments{
\item{...}{catch-all to match old calls}
}
\value{
Nothing. This function always raises an exception
}
\description{
removed functions
}
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