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 @@ -581,8 +581,8 @@ is_cran_check <- function() {
581581# '
582582# ' [.get_prediction_column_names()] returns a list that has the names of the
583583# ' columns for the primary prediction types for a model.
584- # ' @param x A fitted model (class `"model_fit"`) or a fitted workflow.
585- # ' @param syms Should the column names be converted to symbols?
584+ # ' @param x A fitted parsnip model (class `"model_fit"`) or a fitted workflow.
585+ # ' @param syms Should the column names be converted to symbols? Defaults to `FALSE`.
586586# ' @return A list with elements `"estimate"` and `"probabilities"`.
587587# ' @examplesIf !parsnip:::is_cran_check()
588588# ' library(dplyr)
@@ -638,6 +638,7 @@ is_cran_check <- function() {
638638 res $ probabilities <- " .pred"
639639 }
640640 } else {
641+ # Should be unreachable
641642 cli :: cli_abort(" Unsupported model mode {model_mode}." )
642643 }
643644
You can’t perform that action at this time.
0 commit comments