Skip to content

Commit

Permalink
Merge branch 'release/3.11.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
psychelzh committed Apr 7, 2024
2 parents 255fc81 + 555db71 commit 17b3f4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tarflow.iquizoo
Title: Setup "targets" Workflows for "iquizoo" Data Processing
Version: 3.11.1
Version: 3.11.2
Authors@R: c(
person("Liang", "Zhang", , "psychelzh@outlook.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-9041-1150")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# tarflow.iquizoo 3.11.2

* Fixed a regression issue of `tar_prep_raw()` that `preproc_data()` is not correctly tracked by targets pipeline.

# tarflow.iquizoo 3.11.1

* Separate `tar_prep_proj()` into `tar_prep_hash()` and `tar_fetch_users()`.
Expand Down
9 changes: 2 additions & 7 deletions R/targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,7 @@ tar_prep_raw <- function(contents,
tarchetypes::tar_eval(
targets::tar_target(
tar_indices,
preproc.iquizoo::preproc_data(
tar_parsed,
prep_fun,
.input = input,
.extra = extra
),
preproc_data(tar_parsed, prep_fun, .input = input, .extra = extra),
packages = "preproc.iquizoo"
),
data.iquizoo::merge_preproc(contents)
Expand All @@ -282,6 +277,6 @@ objects <- function() {
utils::globalVariables(
c(
"tar_data", "tar_parsed", "tar_indices",
"prep_fun", "input", "extra"
"preproc_data", "prep_fun", "input", "extra"
)
)

0 comments on commit 17b3f4b

Please sign in to comment.