@@ -246,10 +246,10 @@ new_frosting <- function() {
246246}
247247
248248
249- # ' Create frosting for postprocessing predictions
249+ # ' Create frosting for post-processing predictions
250250# '
251- # ' This generates a postprocessing container (much like `recipes::recipe()`)
252- # ' to hold steps for postprocessing predictions.
251+ # ' This generates a post-processing container (much like `recipes::recipe()`)
252+ # ' to hold steps for post-processing predictions.
253253# '
254254# ' The arguments are currently placeholders and must be NULL
255255# '
@@ -260,7 +260,7 @@ new_frosting <- function() {
260260# ' @export
261261# '
262262# ' @examples
263- # ' # Toy example to show that frosting can be created and added for postprocessing
263+ # ' # Toy example to show that frosting can be created and added for post-processing
264264# ' f <- frosting()
265265# ' wf <- epi_workflow() %>% add_frosting(f)
266266# '
@@ -322,9 +322,9 @@ extract_frosting.epi_workflow <- function(x, ...) {
322322 }
323323}
324324
325- # ' Apply postprocessing to a fitted workflow
325+ # ' Apply post-processing to a fitted workflow
326326# '
327- # ' This function is intended for internal use. It implements postprocessing
327+ # ' This function is intended for internal use. It implements post-processing
328328# ' inside of the `predict()` method for a fitted workflow.
329329# '
330330# ' @param workflow An object of class workflow
@@ -342,7 +342,7 @@ apply_frosting <- function(workflow, ...) {
342342apply_frosting.default <- function (workflow , components , ... ) {
343343 if (has_postprocessor(workflow )) {
344344 cli_abort(c(
345- " Postprocessing is only available for epi_workflows currently." ,
345+ " Post-processing is only available for epi_workflows currently." ,
346346 i = " Can you use `epi_workflow()` instead of `workflow()`?"
347347 ))
348348 }
0 commit comments