{"action":"created","issue":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion-Internal/issues/48","repository_url":"https://api.github.com/repos/STAT545-UBC/Discussion-Internal","labels_url":"https://api.github.com/repos/STAT545-UBC/Discussion-Internal/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/STAT545-UBC/Discussion-Internal/issues/48/comments","events_url":"https://api.github.com/repos/STAT545-UBC/Discussion-Internal/issues/48/events","html_url":"https://github.com/STAT545-UBC/Discussion-Internal/issues/48","id":371656677,"node_id":"MDU6SXNzdWUzNzE2NTY2Nzc=","number":48,"title":"[cm-013] Issues with ggplotly and plot_ly","user":{"login":"ErnestL91","id":43180690,"node_id":"MDQ6VXNlcjQzMTgwNjkw","avatar_url":"https://avatars2.githubusercontent.com/u/43180690?v=4","gravatar_id":"","url":"https://api.github.com/users/ErnestL91","html_url":"https://github.com/ErnestL91","followers_url":"https://api.github.com/users/ErnestL91/followers","following_url":"https://api.github.com/users/ErnestL91/following{/other_user}","gists_url":"https://api.github.com/users/ErnestL91/gists{/gist_id}","starred_url":"https://api.github.com/users/ErnestL91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErnestL91/subscriptions","organizations_url":"https://api.github.com/users/ErnestL91/orgs","repos_url":"https://api.github.com/users/ErnestL91/repos","events_url":"https://api.github.com/users/ErnestL91/events{/privacy}","received_events_url":"https://api.github.com/users/ErnestL91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-18T18:33:19Z","updated_at":"2018-10-18T18:41:35Z","closed_at":null,"author_association":"NONE","body":"From the cm-013 lecture this Tuesday, the final parts of the in-class coding work involved using ggplotly and plot_ly. I seem to be having issues with running these two functions, with this error message showing up:\r\n\r\nError in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called ‘shiny’\r\n\r\nI have the plotly and tidyverse library loaded already, so I thought about installing and loading the \"shiny\" package. However, when I tried installing \"shiny\" I get another error that stops the installation:\r\n\r\npreparing package for lazy loading\r\nError in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : \r\n  namespace 'httpuv' 1.4.1 is being loaded, but >= 1.4.3 is required\r\nERROR: lazy loading failed for package 'shiny'\r\n\r\nremoving 'C:/Users/ernest91/Documents/R/R-3.3.2/library/shiny'\r\nWarning in install.packages :\r\n  running command '\"C:/Users/ernest91/DOCUME~1/R/R-33~1.2/bin/x64/R\" CMD INSTALL -l \"C:\\Users\\ernest91\\Documents\\R\\R-3.3.2\\library\" C:\\Users\\ernest91\\AppData\\Local\\Temp\\Rtmp67a1w7/downloaded_packages/shiny_1.1.0.tar.gz' had status 1\r\n\r\nWarning in install.packages :\r\n  installation of package ‘shiny’ had non-zero exit status\r\n\r\n\r\nAny help would be appreciated, thank you!"},"comment":{"url":"https://api.github.com/repos/STAT545-UBC/Discussion-Internal/issues/comments/431118324","html_url":"https://github.com/STAT545-UBC/Discussion-Internal/issues/48#issuecomment-431118324","issue_url":"https://api.github.com/repos/STAT545-UBC/Discussion-Internal/issues/48","id":431118324,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTExODMyNA==","user":{"login":"MaunishUBC","id":16748239,"node_id":"MDQ6VXNlcjE2NzQ4MjM5","avatar_url":"https://avatars2.githubusercontent.com/u/16748239?v=4","gravatar_id":"","url":"https://api.github.com/users/MaunishUBC","html_url":"https://github.com/MaunishUBC","followers_url":"https://api.github.com/users/MaunishUBC/followers","following_url":"https://api.github.com/users/MaunishUBC/following{/other_user}","gists_url":"https://api.github.com/users/MaunishUBC/gists{/gist_id}","starred_url":"https://api.github.com/users/MaunishUBC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaunishUBC/subscriptions","organizations_url":"https://api.github.com/users/MaunishUBC/orgs","repos_url":"https://api.github.com/users/MaunishUBC/repos","events_url":"https://api.github.com/users/MaunishUBC/events{/privacy}","received_events_url":"https://api.github.com/users/MaunishUBC/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T18:41:35Z","updated_at":"2018-10-18T18:41:35Z","author_association":"NONE","body":"Hi Ernest, \r\n\r\nI had a similar issue while installing plotly and it turned out the cause of the error was that I wasn't running the latest version of R.\r\nTry updating R to version 3.5.1 and that should hopefully allow you to smoothly install plotly.\r\n\r\nCheers,\r\nMaunish \r\n"}}
{"actor":{"display_login":"MaunishUBC"}}