Skip to content

Commit

Permalink
Remove callr_function in tar_make_as_job() argument list
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Jul 23, 2024
1 parent dd3f898 commit bf85acb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 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.9001
Version: 1.7.1.9002
License: MIT + file LICENSE
URL: https://docs.ropensci.org/targets/, https://github.com/ropensci/targets
BugReports: https://github.com/ropensci/targets/issues
Expand Down Expand Up @@ -113,4 +113,4 @@ Language: en-US
VignetteBuilder: knitr
Config/testthat/edition: 3
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# targets 1.7.1.9001 (development)
# targets 1.7.1.9002 (development)

* Wrap `tar_watch()` UI module in `bslib::page()` (#1302, @kwbyron-lilly).
* Remove `callr_function` in `tar_make_as_job()` argument list.

# targets 1.7.1

Expand Down
1 change: 1 addition & 0 deletions R/tar_make.R
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ tar_make_inner <- function(
tar_make_as_job <- function(call) {
args <- as.list(call)[-1L]
args$as_job <- FALSE
args$callr_function <- NULL
args <- paste(names(args), "=", map_chr(args, tar_deparse_safe))
args <- c(args, "callr_function = NULL")
args <- paste0(args, collapse = ", ")
Expand Down

0 comments on commit bf85acb

Please sign in to comment.