From 9fdee97b4f88f76c73780b44c4ed4e3ed3426e65 Mon Sep 17 00:00:00 2001 From: DivadNojnarg Date: Fri, 15 Nov 2024 01:26:21 +0100 Subject: [PATCH] missing warning --- R/block-core.R | 1 + man/block_io.Rd | 2 ++ 2 files changed, 3 insertions(+) diff --git a/R/block-core.R b/R/block-core.R index b92d7035..87858d5c 100644 --- a/R/block-core.R +++ b/R/block-core.R @@ -369,6 +369,7 @@ block_input_check.result_block <- function(x, data, ...) { } #' @rdname block_io +#' @param class Custom class #' @export input_failure <- function(..., class = character()) { rlang::abort(paste0(...), class = c(class, "input_failure")) diff --git a/man/block_io.Rd b/man/block_io.Rd index 8d380c17..0b93f9b2 100644 --- a/man/block_io.Rd +++ b/man/block_io.Rd @@ -45,6 +45,8 @@ block_output_ptype(x, ...) \item{data}{Input data.} \item{...}{For generic consistency.} + +\item{class}{Custom class} } \description{ Used for checking whether blocks are compatible