From a8aa4923cedc29340d818277742b55c116846d54 Mon Sep 17 00:00:00 2001 From: wlandau Date: Fri, 10 Jan 2025 11:14:43 -0500 Subject: [PATCH] minor optimization and version bump --- DESCRIPTION | 2 +- NEWS.md | 2 +- R/class_graph.R | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index bcf96a23..d3c4f66c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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, ). -Version: 1.9.1.9006 +Version: 1.9.1.9007 License: MIT + file LICENSE URL: https://docs.ropensci.org/targets/, https://github.com/ropensci/targets BugReports: https://github.com/ropensci/targets/issues diff --git a/NEWS.md b/NEWS.md index c4f83a7a..6e7f744e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# targets 1.9.1.9006 +# targets 1.9.1.9007 ## Summary of performance gains diff --git a/R/class_graph.R b/R/class_graph.R index 36793192..5a8b9b77 100644 --- a/R/class_graph.R +++ b/R/class_graph.R @@ -88,7 +88,7 @@ join_edges <- function(lookup, from, to) { if (is.null(.subset2(lookup, name))) { lookup[[name]] <- new_from } else { - lookup[[name]] <- union(new_from, .subset2(lookup, name)) + lookup[[name]] <- unique.default(c(new_from, .subset2(lookup, name))) } index <- index + 1L }