From 1a8ccebf001bb24804f92081e366cc9e25ceb61c Mon Sep 17 00:00:00 2001 From: Liang Zhang Date: Fri, 29 Mar 2024 14:32:52 +0800 Subject: [PATCH] Better handle preproc.iquizoo requirements Signed-off-by: Liang Zhang --- R/targets.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/targets.R b/R/targets.R index fc5dd76..8ddb9e1 100644 --- a/R/targets.R +++ b/R/targets.R @@ -243,6 +243,7 @@ tar_prep_raw <- function(contents, ) list( raw_data_parsed = if ("parse" %in% action_raw_data) { + check_installed("preproc.iquizoo", "becasue required in wrangling.") tarchetypes::tar_eval( targets::tar_target( tar_parsed, @@ -253,6 +254,7 @@ tar_prep_raw <- function(contents, ) }, indices = if ("preproc" %in% action_raw_data) { + check_installed("preproc.iquizoo", "becasue required in pre-processing.") tarchetypes::tar_eval( targets::tar_target( tar_indices,