Showing 2 of 4 files from the diff.
Other files ignored by Codecov
DESCRIPTION has changed.

@@ -31,8 +31,6 @@
Loading
31 31
#'  \code{tidy} method, a tibble with columns \code{terms} (the
32 32
#'  selectors or variables selected).
33 33
#' @keywords datagen
34 -
#' @concept preprocessing dummy_variables model_specification
35 -
#'  dummy_variables variable_encodings
36 34
#' @export
37 35
#' @details \code{step_dummy_hcai} will create a set of binary dummy
38 36
#'  variables from a factor variable. For example, if an unordered

@@ -278,8 +278,9 @@
Loading
278 278
279 279
  # Reorder factor levels if classification model and if outcomes exists
280 280
  if (!is.regression_list(object) && !is.null(outcomes)) {
281 -
    newdata[[mi$target]] <-
282 -
      forcats::fct_relevel(newdata[[mi$target]], mi$positive_class)
281 +
    levs <- c(mi$positive_class,
282 +
              levels(newdata[[mi$target]])[levels(newdata[[mi$target]]) != mi$positive_class])
283 +
    newdata[[mi$target]] <- factor(newdata[[mi$target]], levels = levs)
283 284
  }
284 285
285 286
  # Add groups if desired
Files Coverage
R 95.5%
Project Totals (41 files) 95.5%
1
coverage:
2
  precision: 1
3

4
  status:
5
    project: on
6
    patch: on
7
    changes: off
8

9
comment:
10
  layout: "header, diff"
11
  behavior: new
12
  require_changes: false
13

14
ignore:
15
  - "R/db_connections.R"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading