Skip to content

Commit

Permalink
chore: Add FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 7, 2023
1 parent 470c646 commit cc319a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/error-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ abort_no_cycles <- function(g) {
names()
# add the first element after the last element, so it's more clear that it's a cycle
shortest_cycle <- paste(c(shortest_cycle, shortest_cycle[1]), collapse = " -> ")
# FIXME: extract, also identify parallel edges as circles
abort(error_txt_no_cycles(shortest_cycle), class = dm_error_full("no_cycles"))
}

Expand Down

0 comments on commit cc319a3

Please sign in to comment.