Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAGs with no edges fail #159

Open
malcolmbarrett opened this issue Jul 21, 2024 · 0 comments
Open

DAGs with no edges fail #159

malcolmbarrett opened this issue Jul 21, 2024 · 0 comments
Milestone

Comments

@malcolmbarrett
Copy link
Collaborator

Per an accidental finding from CRAN tests, DAGs without edges fail. Kicking the can down the road for the CRAN version but will do this before the next release.

dagitty::dagitty("dag {
  x1
  x2
  x3
  x4
  x5
}") |> ggdag::tidy_dagitty()
#> Error in `dplyr::select()`:
#> ! Can't select columns that don't exist.
#> ✖ Column `x` doesn't exist.

Created on 2024-07-21 with reprex v2.1.0

@malcolmbarrett malcolmbarrett added this to the ggdag 0.3.0 milestone Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant