{"action":"created","issue":{"url":"https://api.github.com/repos/iankloo/sigmaNet/issues/14","repository_url":"https://api.github.com/repos/iankloo/sigmaNet","labels_url":"https://api.github.com/repos/iankloo/sigmaNet/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/iankloo/sigmaNet/issues/14/comments","events_url":"https://api.github.com/repos/iankloo/sigmaNet/issues/14/events","html_url":"https://github.com/iankloo/sigmaNet/issues/14","id":320050651,"node_id":"MDU6SXNzdWUzMjAwNTA2NTE=","number":14,"title":"sigmaNetOutput displays locally but not on server","user":{"login":"camraynor","id":30672037,"node_id":"MDQ6VXNlcjMwNjcyMDM3","avatar_url":"https://avatars1.githubusercontent.com/u/30672037?v=4","gravatar_id":"","url":"https://api.github.com/users/camraynor","html_url":"https://github.com/camraynor","followers_url":"https://api.github.com/users/camraynor/followers","following_url":"https://api.github.com/users/camraynor/following{/other_user}","gists_url":"https://api.github.com/users/camraynor/gists{/gist_id}","starred_url":"https://api.github.com/users/camraynor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camraynor/subscriptions","organizations_url":"https://api.github.com/users/camraynor/orgs","repos_url":"https://api.github.com/users/camraynor/repos","events_url":"https://api.github.com/users/camraynor/events{/privacy}","received_events_url":"https://api.github.com/users/camraynor/received_events","type":"User","site_admin":false},"labels":[{"id":638234624,"node_id":"MDU6TGFiZWw2MzgyMzQ2MjQ=","url":"https://api.github.com/repos/iankloo/sigmaNet/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":{"login":"iankloo","id":13052891,"node_id":"MDQ6VXNlcjEzMDUyODkx","avatar_url":"https://avatars3.githubusercontent.com/u/13052891?v=4","gravatar_id":"","url":"https://api.github.com/users/iankloo","html_url":"https://github.com/iankloo","followers_url":"https://api.github.com/users/iankloo/followers","following_url":"https://api.github.com/users/iankloo/following{/other_user}","gists_url":"https://api.github.com/users/iankloo/gists{/gist_id}","starred_url":"https://api.github.com/users/iankloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iankloo/subscriptions","organizations_url":"https://api.github.com/users/iankloo/orgs","repos_url":"https://api.github.com/users/iankloo/repos","events_url":"https://api.github.com/users/iankloo/events{/privacy}","received_events_url":"https://api.github.com/users/iankloo/received_events","type":"User","site_admin":false},"assignees":[{"login":"iankloo","id":13052891,"node_id":"MDQ6VXNlcjEzMDUyODkx","avatar_url":"https://avatars3.githubusercontent.com/u/13052891?v=4","gravatar_id":"","url":"https://api.github.com/users/iankloo","html_url":"https://github.com/iankloo","followers_url":"https://api.github.com/users/iankloo/followers","following_url":"https://api.github.com/users/iankloo/following{/other_user}","gists_url":"https://api.github.com/users/iankloo/gists{/gist_id}","starred_url":"https://api.github.com/users/iankloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iankloo/subscriptions","organizations_url":"https://api.github.com/users/iankloo/orgs","repos_url":"https://api.github.com/users/iankloo/repos","events_url":"https://api.github.com/users/iankloo/events{/privacy}","received_events_url":"https://api.github.com/users/iankloo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-05-03T19:31:35Z","updated_at":"2018-06-21T23:55:57Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nFirst, thank you for creating this excellent package. I've been working on a Shiny app that uses a graph generated with `sigmaNetOutput`. The graph displays when Shiny is running locally through RStudio, however, nothing appears when it is run from my server. Further, the shiny-server error logs show no errors. I run into the same problem when trying to host the example from the documentation. \r\n\r\n### Actual Behavior\r\n\r\nThis is the code I am running:\r\n\r\n```\r\nlibrary(tidyverse)\r\nlibrary(shiny)\r\nlibrary(sigmaNet)\r\n\r\ndata(lesMis)\r\n\r\nui <- fluidPage(\r\n  sigmaNetOutput('network', height = '600px'),\r\n  textOutput('text')\r\n)\r\n\r\nserver <- function(input, output, session) {\r\n  output$text <- renderText({\r\n    req(input$node_data)\r\n    paste0('You clicked on: ', input$node_data$label)\r\n  })\r\n  \r\n  output$network <- renderSigmaNet({\r\n    sigmaNet::sigmaFromIgraph(lesMis) %>%\r\n      addNodeLabels(labelAttr = 'label') %>%\r\n      addListener('clickNode')\r\n  })\r\n}\r\n\r\nshinyApp(ui = ui, server = server)\r\n```\r\n\r\nHere is how it displays on the server:\r\n\r\n![image](https://user-images.githubusercontent.com/30672037/39598213-00743642-4ed5-11e8-8f40-c596d761926f.png)\r\nhttp://data.camraynor.io/test/\r\n\r\n### Expected/Desired Behavior\r\n\r\nHere is how the Shiny app displays when running locally:\r\n\r\n![networkexample](https://user-images.githubusercontent.com/30672037/39598260-3025f8ee-4ed5-11e8-93ab-a8ae06a3fcf9.PNG)\r\n\r\n### How to Reproduce\r\n\r\nWhen I check my server logs, everything seems to be running fine:\r\n\r\n```\r\n── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──\r\n✔ ggplot2 2.2.1     ✔ purrr   0.2.4\r\n✔ tibble  1.4.2     ✔ dplyr   0.7.4\r\n✔ tidyr   0.8.0     ✔ stringr 1.2.0\r\n✔ readr   1.1.1     ✔ forcats 0.3.0\r\n── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──\r\n✖ dplyr::filter() masks stats::filter()\r\n✖ dplyr::lag()    masks stats::lag()\r\n\r\nListening on http://127.0.0.1:35739\r\n```\r\nshiny-server.log\r\n```\r\n[2018-05-03T18:27:49.350] [INFO] shiny-server - Starting listener on 127.0.0.1:3838\r\n```\r\nAll packages are up to date, and my server is running on an AWS EC2 t2.xlarge instance, which should have plenty of memory.\r\n\r\nAny suggestions would be greatly appreciated."},"comment":{"url":"https://api.github.com/repos/iankloo/sigmaNet/issues/comments/399278832","html_url":"https://github.com/iankloo/sigmaNet/issues/14#issuecomment-399278832","issue_url":"https://api.github.com/repos/iankloo/sigmaNet/issues/14","id":399278832,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTI3ODgzMg==","user":{"login":"iankloo","id":13052891,"node_id":"MDQ6VXNlcjEzMDUyODkx","avatar_url":"https://avatars3.githubusercontent.com/u/13052891?v=4","gravatar_id":"","url":"https://api.github.com/users/iankloo","html_url":"https://github.com/iankloo","followers_url":"https://api.github.com/users/iankloo/followers","following_url":"https://api.github.com/users/iankloo/following{/other_user}","gists_url":"https://api.github.com/users/iankloo/gists{/gist_id}","starred_url":"https://api.github.com/users/iankloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iankloo/subscriptions","organizations_url":"https://api.github.com/users/iankloo/orgs","repos_url":"https://api.github.com/users/iankloo/repos","events_url":"https://api.github.com/users/iankloo/events{/privacy}","received_events_url":"https://api.github.com/users/iankloo/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T23:55:56Z","updated_at":"2018-06-21T23:55:56Z","author_association":"OWNER","body":"@camraynor Are you still having trouble with this?  I can't reproduce and haven't heard from anyone else with the issue.  Happy to help, but will need a reproducible example.  Otherwise, I can close down the issue to clean things up."}}
{"actor":{"display_login":"iankloo"}}