Skip to content

Commit

Permalink
Fix #1304
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Jul 24, 2024
1 parent fe4617d commit b680b8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Description: Pipeline tools coordinate the pieces of computationally
The methodology in this package
borrows from GNU 'Make' (2015, ISBN:978-9881443519)
and 'drake' (2018, <doi:10.21105/joss.00550>).
Version: 1.7.1.9002
Version: 1.7.1.9003
License: MIT + file LICENSE
URL: https://docs.ropensci.org/targets/, https://github.com/ropensci/targets
BugReports: https://github.com/ropensci/targets/issues
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# targets 1.7.1.9002 (development)
# targets 1.7.1.9003 (development)

* Wrap `tar_watch()` UI module in `bslib::page()` (#1302, @kwbyron-lilly).
* Remove `callr_function` in `tar_make_as_job()` argument list.
* Ensure `storage = "worker"` is respected when the process of storing an object generates an error (#1304, @multimeric).

# targets 1.7.1

Expand Down
2 changes: 1 addition & 1 deletion R/class_builder.R
Original file line number Diff line number Diff line change
Expand Up @@ -443,11 +443,11 @@ builder_unload_value <- function(target) {
}

builder_update_object <- function(target) {
on.exit(builder_unload_value(target))
file_validate_path(target$store$file$path)
if (!identical(target$settings$storage, "none")) {
store_write_object(target$store, target$value$object)
}
builder_unload_value(target)
store_hash_late(target$store)
store_upload_object(target$store)
}
Expand Down

0 comments on commit b680b8f

Please sign in to comment.