From 71ca931a158cf6df0a2472eedee8371d64202482 Mon Sep 17 00:00:00 2001 From: Anna Krystalli Date: Mon, 30 Sep 2024 14:13:44 +0300 Subject: [PATCH] add check for config arg --- R/create_custom_check.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/create_custom_check.R b/R/create_custom_check.R index 88d26c8b..1cbfaeee 100644 --- a/R/create_custom_check.R +++ b/R/create_custom_check.R @@ -64,6 +64,7 @@ create_custom_check <- function(name, hub_path = ".", checkmate::assert_logical(error, len = 1L) checkmate::assert_logical(conditional, len = 1L) checkmate::assert_logical(error_object, len = 1L) + checkmate::assert_logical(config, len = 1L) checkmate::assert_logical(extra_args, len = 1L) checkmate::assert_logical(overwrite, len = 1L)