Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [19s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggdag)
  
  Attaching package: 'ggdag'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("ggdag")
  
  Attaching package: 'tidygraph'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following object is masked from 'package:stats':
  
      filter
  
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  [ FAIL 1 | WARN 0 | SKIP 16 | PASS 60 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (16)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-paths.R:38:3'): DAG paths are identified and drawn correctly ───
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `map(.x, .f, ...)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─confounder_triangle_dag %>% ggdag_paths(from = "x", to = "y") at test-paths.R:38:2
    2. ├─ggdag::ggdag_paths(., from = "x", to = "y")
    3. │ └─... %>% ...
    4. ├─ggplot2::ggplot(...)
    5. ├─ggdag::dag_paths(...)
    6. │ └─pathways %>% ...
    7. ├─purrr::map_df(...)
    8. │ └─purrr::map(.x, .f, ...)
    9. │   └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   10. │     ├─purrr:::with_indexed_errors(...)
   11. │     │ └─base::withCallingHandlers(...)
   12. │     ├─purrr:::call_with_cleanup(...)
   13. │     └─ggdag (local) .f(.x[[i]], ...)
   14. │       ├─base::`[<-`(`*tmp*`, path_df$name == vars[[2]], "path", value = `<chr>`)
   15. │       └─tibble:::`[<-.tbl_df`(...)
   16. │         └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   17. │           └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   18. │             ├─base::withCallingHandlers(...)
   19. │             └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   20. └─base::.handleSimpleError(...)
   21.   └─purrr (local) h(simpleError(msg, call))
   22.     └─cli::cli_abort(...)
   23.       └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 16 | PASS 60 ]
  Deleting unused snapshots:
  • drelationship/ggdag-dconnected-d-separates-x-and-y.svg
  • drelationship/ggdag-drelationship-d-connects-x-and-y.svg
  • drelationship/ggdag-drelationship-d-connects-xy-no-collider.svg
  • drelationship/ggdag-dseparated-d-separates-x-and-y.svg
  • equivalence/ggdag-equivalent-class-plots-all-reversible-edges.svg
  • equivalence/ggdag-equivalent-class-plots-labels.svg
  • equivalence/ggdag-equivalent-class-plots-no-reversible-edges.svg
  • equivalence/ggdag-equivalent-dags-plots-6-equivalent-dags.svg
  • geom_dag/geom-dag-edges-arc-is-arcy.svg
  • geom_dag/geom-dag-edges-diagonal-is-arcy.svg
  • geom_dag/geom-dag-edges-fan-is-fany.svg
  • geom_dag/geom-dag-label-repel-repels-labels.svg
  • ggdag/ggdag-classic-plots-basic-dag-classically.svg
  • layouts/df-time-ordered-coords.svg
  • paths/ggdag-paths-draws-2-open-paths.svg
  • paths/ggdag-paths-fan-draws-4-open-paths.svg
  • quick_plots/ggdag-butterfly-bias-is-a-butterfly.svg
  • quick_plots/ggdag-collider-triangle-is-triangle-too.svg
  • quick_plots/ggdag-confounder-triangle-is-triangle.svg
  • relations/ggdag-ancestors-identifies-v-w1-and-z1.svg
  • relations/ggdag-descendants-identifies-y-x-and-z1.svg
  • relations/ggdag-parents-identifies-z2-x-w1-and-w2.svg
  • themes/theme-dag-gray-grid.svg
  • themes/theme-dag-gray.svg
  • themes/theme-dag-grid.svg
  Error: Test failures
  Execution halted