From 391eb15f93e91a4a1dc2545ae0f003c0359f3b31 Mon Sep 17 00:00:00 2001 From: Emil Hvitfeldt Date: Sun, 25 Oct 2020 14:18:16 -0700 Subject: [PATCH] typos --- R/linear_reg.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/linear_reg.R b/R/linear_reg.R index 809cf6b2b..2d65c2792 100644 --- a/R/linear_reg.R +++ b/R/linear_reg.R @@ -110,8 +110,8 @@ translate.linear_reg <- function(x, engine = x$engine, ...) { if (engine == "glmnet") { # See discussion in https://github.com/tidymodels/parsnip/issues/195 x$method$fit$args$lambda <- NULL - # Since the `fit` infomration is gone for the penalty, we need to have an - # evaludated value for the parameter. + # Since the `fit` information is gone for the penalty, we need to have an + # evaluated value for the parameter. x$args$penalty <- rlang::eval_tidy(x$args$penalty) }