From 3d34cf4c566e9ede3fa5a5a4cce65052e2a8273b Mon Sep 17 00:00:00 2001 From: be-marc Date: Thu, 23 Nov 2023 12:03:33 +0100 Subject: [PATCH] fix: crate default custom check of p_uty --- R/ParamUty.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ParamUty.R b/R/ParamUty.R index 5337dcee..9019c940 100644 --- a/R/ParamUty.R +++ b/R/ParamUty.R @@ -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") }