r-lib / generics

Compare 475a47a ... +0 ... 240015c

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 3 files from the diff.
Newly tracked file
R/min_grid.R created.
Other files ignored by Codecov
NAMESPACE has changed.

@@ -0,0 +1,16 @@
Loading
1 +
#' Determine the minimum set of model fits
2 +
#'
3 +
#' `min_grid()` determines exactly what models should be fit in order to
4 +
#'  evaluate the entire set of tuning parameter combinations. This is for
5 +
#'  internal use only and the API may change in the near future.
6 +
#' @param x A model specification.
7 +
#' @param grid A tibble with tuning parameter combinations.
8 +
#' @param ... Not currently used.
9 +
#' @return A tibble with the minimum tuning parameters to fit and an additional
10 +
#' list column with the parameter combinations used for prediction.
11 +
#' @section Methods:
12 +
#' \Sexpr[stage=render,results=rd]{generics:::methods_rd("min_grid")}
13 +
#' @export
14 +
min_grid <- function(x, grid, ...) {
15 +
  UseMethod("min_grid")
16 +
}

Learn more Showing 1 files with coverage changes found.

New file R/min_grid.R
New
Loading file...
Files Coverage
Project Totals (29 files) 60.80%
Loading