Skip to content

Commit

Permalink
if we cannot identify variables, populate variable column with term
Browse files Browse the repository at this point in the history
fix #63
  • Loading branch information
larmarange committed Oct 21, 2020
1 parent 9ec11e3 commit f0e10c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/tidy_identify_variables.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ tidy_identify_variables <- function(x, model = tidy_get_model(x),
if (strict) stop("Cannot identify variables. Quitting execution.", call. = FALSE)
x %>%
dplyr::mutate(
variable = NA_character_,
variable = .data$term,
var_class = NA_integer_,
var_type = "unknown",
var_nlevels = NA_integer_
Expand Down

0 comments on commit f0e10c0

Please sign in to comment.