R/class_silent.R

Defines functions silent_new

silent_new <- function() {
  silent_class$new()
}

silent_class <- R6::R6Class(
  classname = "tar_silent",
  inherit = reporter_class,
  class = FALSE,
  portable = FALSE,
  cloneable = FALSE,
  public = list(
    report_end = function(progress = NULL, seconds_elapsed = NULL) {
      invisible()
    }
  )
)
ropensci/targets documentation built on June 13, 2025, 5:18 a.m.