diff --git a/R/learner_C50_classif_C50.R b/R/learner_C50_classif_C50.R index 244708a49..ba94a4c2c 100644 --- a/R/learner_C50_classif_C50.R +++ b/R/learner_C50_classif_C50.R @@ -35,7 +35,7 @@ LearnerClassifC50 = R6Class("LearnerClassifC50", seed = p_int(lower = -Inf, upper = Inf, tags = "train"), earlyStopping = p_lgl(default = TRUE, tags = "train"), label = p_uty(default = "outcome", tags = "train"), - na.action = p_uty(default = stats::na.pass, tags = "predict") + na.action = p_uty(default = "stats::na.pass", tags = "predict") ) ps$add_dep("bands", "rules", CondEqual$new(TRUE)) diff --git a/R/learner_lme4_classif_glmer.R b/R/learner_lme4_classif_glmer.R index 356e629f9..a9b31390e 100644 --- a/R/learner_lme4_classif_glmer.R +++ b/R/learner_lme4_classif_glmer.R @@ -70,7 +70,7 @@ LearnerClassifGlmer = R6Class("LearnerClassifGlmer", re.form = p_uty(default = NULL, tags = "predict"), random.only = p_lgl(default = FALSE, tags = "predict"), allow.new.levels = p_lgl(default = FALSE, tags = "predict"), - na.action = p_uty(default = stats::na.pass, tags = "predict") + na.action = p_uty(default = "stats::na.pass", tags = "predict") ) param_set$values = list(family = stats::binomial(link = "logit")) diff --git a/R/learner_lme4_regr_lmer.R b/R/learner_lme4_regr_lmer.R index 2db4a1d9b..b223da3dd 100644 --- a/R/learner_lme4_regr_lmer.R +++ b/R/learner_lme4_regr_lmer.R @@ -118,10 +118,7 @@ LearnerRegrLmer = R6Class("LearnerRegrLmer", ), ParamUty$new( id = "check.conv.singular", - default = 'lme4::.makeCC( - action = "message", - tol = formals(lme4::isSingular)$tol - )', + default = 'lme4::.makeCC(action = "message", tol = formals(lme4::isSingular)$tol)', tags = "train" ), ParamUty$new( @@ -141,7 +138,7 @@ LearnerRegrLmer = R6Class("LearnerRegrLmer", ParamUty$new(id = "re.form", default = NULL, tags = "predict"), ParamLgl$new(id = "random.only", default = FALSE, tags = "predict"), ParamLgl$new(id = "allow.new.levels", default = FALSE, tags = "predict"), - ParamUty$new(id = "na.action", default = stats::na.pass, tags = "predict") + ParamUty$new(id = "na.action", default = "stats::na.pass", tags = "predict") )) super$initialize( diff --git a/R/learner_partykit_surv_cforest.R b/R/learner_partykit_surv_cforest.R index 599fd284b..1f891ba4a 100644 --- a/R/learner_partykit_surv_cforest.R +++ b/R/learner_partykit_surv_cforest.R @@ -40,7 +40,7 @@ delayedAssign( trace = p_lgl(default = FALSE, tags = "train"), offset = p_uty(tags = "train"), cluster = p_uty(tags = "train"), - na.action = p_uty(default = stats::na.pass, tags = "train"), + na.action = p_uty(default = "stats::na.pass", tags = "train"), scores = p_uty(tags = "train"), teststat = p_fct(default = "quadratic", diff --git a/man/mlr_learners_classif.C50.Rd b/man/mlr_learners_classif.C50.Rd index 6d0486894..42c0dc525 100644 --- a/man/mlr_learners_classif.C50.Rd +++ b/man/mlr_learners_classif.C50.Rd @@ -44,7 +44,7 @@ lrn("classif.C50") seed \tab integer \tab - \tab \tab \eqn{(-\infty, \infty)}{(-Inf, Inf)} \cr earlyStopping \tab logical \tab TRUE \tab TRUE, FALSE \tab - \cr label \tab untyped \tab outcome \tab \tab - \cr - na.action \tab untyped \tab :: , stats , na.pass \tab \tab - \cr + na.action \tab untyped \tab stats::na.pass \tab \tab - \cr } } diff --git a/man/mlr_learners_classif.glmer.Rd b/man/mlr_learners_classif.glmer.Rd index 385bdbbd3..3fb28b647 100644 --- a/man/mlr_learners_classif.glmer.Rd +++ b/man/mlr_learners_classif.glmer.Rd @@ -80,7 +80,7 @@ lrn("classif.glmer") re.form \tab untyped \tab \tab \tab - \cr random.only \tab logical \tab FALSE \tab TRUE, FALSE \tab - \cr allow.new.levels \tab logical \tab FALSE \tab TRUE, FALSE \tab - \cr - na.action \tab untyped \tab :: , stats , na.pass \tab \tab - \cr + na.action \tab untyped \tab stats::na.pass \tab \tab - \cr } } diff --git a/man/mlr_learners_regr.lmer.Rd b/man/mlr_learners_regr.lmer.Rd index ce5e4516c..6ccb4b193 100644 --- a/man/mlr_learners_regr.lmer.Rd +++ b/man/mlr_learners_regr.lmer.Rd @@ -59,22 +59,15 @@ lrn("regr.lmer") check.scaleX \tab character \tab warning \tab warning, stop, silent.rescale, message+rescale, warn+rescale, ignore \tab - \cr check.formula.LHS \tab character \tab stop \tab ignore, warning, message, stop \tab - \cr check.conv.grad \tab untyped \tab lme4::.makeCC("warning", tol = 2e-3, relTol = NULL) \tab \tab - \cr - check.conv.singular \tab untyped \tab lme4::.makeCC( \tab \tab \cr + check.conv.singular \tab untyped \tab lme4::.makeCC(action = "message", tol = formals(lme4::isSingular)$tol) \tab \tab - \cr + check.conv.hess \tab untyped \tab lme4::.makeCC(action = "warning", tol = 1e-6) \tab \tab - \cr + optCtrl \tab untyped \tab list \tab \tab - \cr + newparams \tab untyped \tab \tab \tab - \cr + re.form \tab untyped \tab \tab \tab - \cr + random.only \tab logical \tab FALSE \tab TRUE, FALSE \tab - \cr + allow.new.levels \tab logical \tab FALSE \tab TRUE, FALSE \tab - \cr + na.action \tab untyped \tab stats::na.pass \tab \tab - \cr } - - -\if{html}{\out{