diff --git a/R/class_pipeline.R b/R/class_pipeline.R index aac202b7..ea680bbe 100644 --- a/R/class_pipeline.R +++ b/R/class_pipeline.R @@ -41,11 +41,7 @@ pipeline_targets_init <- function(targets, clone_targets) { } pipeline_get_target <- function(pipeline, name) { - out <- .subset2(.subset2(pipeline, "targets"), name) - if (is.raw(out)) { - return(tar_unserialize(out)) - } - out + .subset2(.subset2(pipeline, "targets"), name) } pipeline_get_names <- function(pipeline) { diff --git a/tests/testthat/test-class_feather.R b/tests/testthat/test-class_feather.R index c228e6d1..dba05c8f 100644 --- a/tests/testthat/test-class_feather.R +++ b/tests/testthat/test-class_feather.R @@ -133,7 +133,7 @@ tar_test("store_row_path()", { target <- tar_target(x, "x_value", format = "feather") store <- target$store file <- target$file - file$path <- "path" + file$path <- "path" expect_equal(store_row_path(store, file), NA_character_) })