Running examples in ‘ggdag-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ggdag_classic
> ### Title: Quickly plot a DAG in ggplot2
> ### Aliases: ggdag_classic
> 
> ### ** Examples
> 
> 
> dag <- dagify(
+   y ~ x + z2 + w2 + w1,
+   x ~ z1 + w1,
+   z1 ~ w1 + v,
+   z2 ~ w2 + v,
+   w1 ~ ~w2
+ )
> 
> ggdag_classic(dag)
> ggdag_classic(dag) + theme_dag_blank()
> 
> ggdag_classic(dagitty::randomDAG(5, .5))
Error in `dplyr::select()`:
! Can't select columns that don't exist.
✖ Column `x` doesn't exist.
Backtrace:
     ▆
  1. ├─ggdag::ggdag_classic(dagitty::randomDAG(5, 0.5))
  2. │ └─ggdag:::if_not_tidy_daggity(.tdy_dag, ...)
  3. │   └─ggdag::tidy_dagitty(.dagitty, ...)
  4. │     └─ggdag:::get_dagitty_edges(.dagitty)
  5. │       └─.edges %>% dplyr::select(-x, -y) %>% ...
  6. ├─dplyr::rename(., name = v, to = w, direction = e)
  7. ├─dplyr::select(., -x, -y)
  8. ├─dplyr:::select.data.frame(., -x, -y)
  9. │ └─tidyselect::eval_select(expr(c(...)), data = .data, error_call = error_call)
 10. │   └─tidyselect:::eval_select_impl(...)
 11. │     ├─tidyselect:::with_subscript_errors(...)
 12. │     │ └─base::withCallingHandlers(...)
 13. │     └─tidyselect:::vars_select_eval(...)
 14. │       └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
 15. │         └─tidyselect:::eval_c(expr, data_mask, context_mask)
 16. │           └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
 17. │             └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
 18. │               └─tidyselect:::as_indices_sel_impl(...)
 19. │                 └─tidyselect:::as_indices_impl(...)
 20. │                   └─tidyselect:::chr_as_locations(x, vars, call = call, arg = arg)
 21. │                     └─vctrs::vec_as_location(...)
 22. └─vctrs (local) `<fn>`()
 23.   └─vctrs:::stop_subscript_oob(...)
 24.     └─vctrs:::stop_subscript(...)
 25.       └─rlang::abort(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
                user system elapsed
d_relationship 4.413  0.075   5.191