From 1bf682c04e5c1a5e9b1e27d056455c377e62f0da Mon Sep 17 00:00:00 2001 From: Nicolas Bennett <3158446+nbenn@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:40:36 +0100 Subject: [PATCH] fix use of construct_block() --- R/stack.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/stack.R b/R/stack.R index 5d296fb7..452a9224 100644 --- a/R/stack.R +++ b/R/stack.R @@ -254,7 +254,7 @@ add_block <- function(stack, block, position = NULL) { } else { tmp <- initialize_block( - do.call(block, list(position = position)), + construct_block(block, position = position), data ) }