Skip to content

Commit

Permalink
cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Aug 28, 2023
1 parent 949cef2 commit 32cf522
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,3 @@ importFrom(stats,na.omit)
importFrom(stats,predict)
importFrom(stats,setNames)
importFrom(utils,getFromNamespace)
importFrom(utils,packageVersion)
2 changes: 1 addition & 1 deletion R/learner_mboost_regr_gamboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ LearnerRegrGAMBoost = R6Class("LearnerRegrGAMBoost",

if (self$param_set$values$family != "custom") {
pars_family = pars[which(names(pars) %in%
formalArgs(utils::getFromNamespace(
formalArgs(getFromNamespace(
pars_gamboost$family,
asNamespace("mboost"))))]
}
Expand Down
2 changes: 1 addition & 1 deletion R/learner_mboost_regr_glmboost.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ LearnerRegrGLMBoost = R6Class("LearnerRegrGLMBoost",

if (self$param_set$values$family != "custom") {
pars_family = pars[which(names(pars) %in%
formalArgs(utils::getFromNamespace(
formalArgs(getFromNamespace(
pars_glmboost$family,
asNamespace("mboost"))))]
}
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @importFrom stats predict na.omit setNames formula as.formula
#' @importFrom data.table :=
#' @importFrom methods formalArgs getMethod
#' @importFrom utils getFromNamespace packageVersion
#' @importFrom utils getFromNamespace
"_PACKAGE"

utils::globalVariables(c("name", "id", "mlr3_package", "required_packages", ".SD"))
Expand Down
2 changes: 1 addition & 1 deletion man/mlr_learners_classif.C50.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mlr_learners_classif.abess.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mlr_learners_dens.mixed.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mlr_learners_regr.abess.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mlr_learners_regr.cubist.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mlr_learners_surv.gamboost.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mlr_learners_surv.glmboost.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/mlr_learners_surv.mboost.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 32cf522

Please sign in to comment.