Skip to content

Commit

Permalink
Better handle preproc.iquizoo requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Zhang <[email protected]>
  • Loading branch information
psychelzh committed Mar 29, 2024
1 parent fcac202 commit 1a8cceb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 1a8cceb

Please sign in to comment.