diff --git a/R/translate.R b/R/translate.R index cb5815c98..fb6b020ba 100644 --- a/R/translate.R +++ b/R/translate.R @@ -30,13 +30,13 @@ #' @examplesIf !parsnip:::is_cran_check() #' lm_spec <- linear_reg(penalty = 0.01) #' -#' # `penalty` is tranlsated to `lambda` +#' # `penalty` is translated to `lambda` #' translate(lm_spec, engine = "glmnet") #' #' # `penalty` not applicable for this model. #' translate(lm_spec, engine = "lm") #' -#' # `penalty` is tranlsated to `reg_param` +#' # `penalty` is translated to `reg_param` #' translate(lm_spec, engine = "spark") #' #' # with a placeholder for an unknown argument value: diff --git a/man/translate.Rd b/man/translate.Rd index b181fe49e..072486d6f 100644 --- a/man/translate.Rd +++ b/man/translate.Rd @@ -45,13 +45,13 @@ to modify the model specification. \dontshow{if (!parsnip:::is_cran_check()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} lm_spec <- linear_reg(penalty = 0.01) -# `penalty` is tranlsated to `lambda` +# `penalty` is translated to `lambda` translate(lm_spec, engine = "glmnet") # `penalty` not applicable for this model. translate(lm_spec, engine = "lm") -# `penalty` is tranlsated to `reg_param` +# `penalty` is translated to `reg_param` translate(lm_spec, engine = "spark") # with a placeholder for an unknown argument value: