Skip to content

Commit

Permalink
fix: crate default custom check of p_uty
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Nov 23, 2023
1 parent 9738e56 commit 3d34cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ParamUty.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ParamUty = R6Class("ParamUty", inherit = Param,
# super class calls private$.check, so this must be set BEFORE
# we initialize the super class
if (is.null(custom_check)) {
self$custom_check = function(x) TRUE
self$custom_check = crate(function(x) TRUE)
} else {
self$custom_check = assert_function(custom_check, "x")
}
Expand Down

0 comments on commit 3d34cf4

Please sign in to comment.