Skip to content

Commit

Permalink
fix a transient bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Nov 13, 2024
1 parent 7880c9b commit 085639e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/class_inspection.R
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,14 @@ inspection_class <- R6::R6Class(
self$vertices_imports <- vertices
},
update_targets = function() {
names <- pipeline_get_names(self$pipeline)
vertices <- data_frame(name = names)
vertices <- self$resolve_target_status(vertices)
vertices <- self$resolve_target_meta(vertices)
names <- c(names, names(self$pipeline$imports))
target_names <- pipeline_get_names(self$pipeline)
names <- c(target_names, names(self$pipeline$imports))
edges <- pipeline_upstream_edges(self$pipeline, targets_only = FALSE)
edges <- edges[edges$from %in% names & edges$to %in% names,, drop = FALSE] # nolint
edges <- edges[edges$from != edges$to,, drop = FALSE] # nolint
vertices <- data_frame(name = target_names)
vertices <- self$resolve_target_status(vertices)
vertices <- self$resolve_target_meta(vertices)
self$edges_targets <- edges
self$vertices_targets <- vertices
},
Expand Down

0 comments on commit 085639e

Please sign in to comment.