Skip to content

Commit

Permalink
add extract_postprocessor() generic (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch authored Apr 26, 2024
1 parent ed8b032 commit ae8fba7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export(extract_fit_time)
export(extract_mold)
export(extract_parameter_dials)
export(extract_parameter_set_dials)
export(extract_postprocessor)
export(extract_preprocessor)
export(extract_recipe)
export(extract_spec_parsnip)
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# hardhat (development version)

* Added `extract_postprocessor()` generic (#247).

* Added `extract_fit_time()` generic (#218).

# hardhat 1.3.1
Expand Down
6 changes: 6 additions & 0 deletions R/extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ extract_preprocessor <- function(x, ...) {
UseMethod("extract_preprocessor")
}

#' @rdname hardhat-extract
#' @export
extract_postprocessor <- function(x, ...) {
UseMethod("extract_postprocessor")
}

#' @rdname hardhat-extract
#' @export
extract_parameter_dials <- function(x, ...) {
Expand Down
3 changes: 3 additions & 0 deletions man/hardhat-extract.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ae8fba7

Please sign in to comment.