Unverified Commit 332559c0 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[R-package] remove deprecation warnings on lgb.prepare() functions (#3444)

parent c0c65f76
...@@ -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)
......
#' @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()")
}
% 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
}
% 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
}
% 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
}
% 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
}
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