R/hash_input.R

Defines functions hash_input.tfd_irreg hash_input.tfd_reg

#' @export
hash_input.tfd_reg = function(x) {
  # The evaluator is a function with environment, srcref, and bytecde, which we want to ignore
  attr(x, "evaluator") = hash_input(attr(x, "evaluator"))
  x
}

#' @export
hash_input.tfd_irreg = function(x) {
  # The evaluator is a function with environment, srcref, and bytecde, which we want to ignore
  attr(x, "evaluator") = hash_input(attr(x, "evaluator"))
  x
}

Try the mlr3fda package in your browser

Any scripts or data that you put into this service are public.

mlr3fda documentation built on Sept. 12, 2024, 7:19 a.m.