-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hey folks--I've just installed brainconn from Github on MacOS 13.6.1 with R 4.3.1. However, it seems like the vignettes directory is absent from the installed directory, and 'vignettes("brainconn")' yields a warning that the vignette was not found.
Not sure if related or not, but running an example command from the vignette produces the error "No layout function defined for objects of class ". Please see below for input and backtrace.
I have just upgraded from Catalina to Ventura, with new R and RStudio installations. I believe all dependencies are present and freshly installed, but I mention it in case it's helpful context.
Thanks,
Jeff
Run `rlang::last_trace()` to see where the error occurred. > rlang::last_trace() Error in `handlers[[1L]]()`: ! No layout function defined for objects of class --- Backtrace: ▆ 1. ├─brainconn::brainconn(...) 2. │ └─brainconn:::build_plot(...) 3. │ ├─ggraph::create_layout(graph = conmat, layout = "stress", circular = TRUE) 4. │ └─ggraph:::create_layout.default(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ ├─tidygraph::as_tbl_graph(graph) 12. │ └─tidygraph:::as_tbl_graph.matrix(graph) 13. │ └─tidygraph:::guess_matrix_type(x) 14. └─base::.handleSimpleError(...) 15. └─rlang (local) h(simpleError(msg, call)) 16. └─handlers[[1L]](cnd)library(brainconn)
Loading required package: ggraph
Loading required package: ggplot2
x <- example_unweighted_undirected
brainconn(atlas ="schaefer300_n7", conmat=x, node.size = 3, view="ortho")
Error inhandlers[[1L]]():
! No layout function defined for objects of class