File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ fit.model_spec <-
157157 }
158158
159159 if (all(c(" x" , " y" ) %in% names(dots ))) {
160- cli :: cli_abort(" ` fit.model_spec()` is for the formula methods. Use ` fit_xy()` instead." )
160+ cli :: cli_abort(" {.fn fit.model_spec} is for the formula methods. Use {.fn fit_xy} instead." )
161161 }
162162 cl <- match.call(expand.dots = TRUE )
163163 # Create an environment with the evaluated argument objects. This will be
@@ -307,7 +307,8 @@ fit_xy.model_spec <-
307307
308308 if (object $ engine == " spark" ) {
309309 cli :: cli_abort(
310- " spark objects can only be used with the formula interface to {.fn fit} with a spark data object."
310+ " spark objects can only be used with the formula interface to {.fn fit}
311+ with a spark data object."
311312 )
312313 }
313314
You can’t perform that action at this time.
0 commit comments