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

Plot UI broken when ploting a DiagrammeR graph #5440

Open
dfalbel opened this issue Nov 21, 2024 · 0 comments
Open

Plot UI broken when ploting a DiagrammeR graph #5440

dfalbel opened this issue Nov 21, 2024 · 0 comments
Labels
area: plots Issues related to Plots category. bug Something isn't working lang: r

Comments

@dfalbel
Copy link
Contributor

dfalbel commented Nov 21, 2024

System details:

Positron and OS details:

Positron Version: 2024.12.0 (Universal) build 51
Code - OSS Version: 1.93.0
Commit: 59b5b0c
Date: 2024-11-21T02:46:07.218Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.1.0

Interpreter details:

> sessionInfo()
R version 4.4.1 (2024-06-14)
Platform: aarch64-apple-darwin20
Running under: macOS 15.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Sao_Paulo
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggplot2_3.5.1     DiagrammeR_1.0.11

loaded via a namespace (and not attached):
 [1] gtable_0.3.6       jsonlite_1.8.8     dplyr_1.1.4        compiler_4.4.1     tidyselect_1.2.1   stringr_1.5.1     
 [7] scales_1.3.0       yaml_2.3.10        uuid_1.2-1         fastmap_1.2.0      R6_2.5.1           labeling_0.4.3    
[13] generics_0.1.3     htmlwidgets_1.6.4  visNetwork_2.1.2   forcats_1.0.0      tibble_3.2.1       munsell_0.5.1     
[19] pillar_1.9.0       RColorBrewer_1.1-3 rlang_1.1.4        utf8_1.2.4         stringi_1.8.4      cli_3.6.3         
[25] withr_3.0.1        magrittr_2.0.3     digest_0.6.37      grid_4.4.1         rstudioapi_0.17.0  haven_2.5.4       
[31] hms_1.1.3          lifecycle_1.0.4    vctrs_0.6.5        glue_1.8.0         data.table_1.16.2  farver_2.1.2      
[37] fansi_1.0.6        colorspace_2.1-1   purrr_1.0.2        tools_4.4.1        pkgconfig_2.0.3    htmltools_0.5.8.1

Describe the issue:

After creating a plot with DiagrammeR the plot UI becomes broken:
Image

Steps to reproduce the issue:

  • Set positron to the help pane - ie not showing the plots pane
  • Create a plot with:
     library(DiagrammeR)
    
     create_graph() %>%
       add_balanced_tree(
         k = 2, h = 3
       ) %>%
       render_graph() 
    
  • The plot pane is focused but the UI is malformed.
Screen.Recording.2024-11-21.at.14.00.14.mov

Expected or desired behavior:

UI should work as expected

Were there any error messages in the UI, Output panel, or Developer Tools console?

Probably related:

workbench.desktop.main.js:62539 [Extension Host] [HPM] Error occurred while proxying request 127.0.0.1:58961/doc/html/prism.css to http://127.0.0.1:57511/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors) (at Object.error (/Applications/Positron.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:64212:26))
@dfalbel dfalbel added area: plots Issues related to Plots category. bug Something isn't working lang: r labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: plots Issues related to Plots category. bug Something isn't working lang: r
Projects
None yet
Development

No branches or pull requests

1 participant