{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/flexdashboard/issues/107","repository_url":"https://api.github.com/repos/rstudio/flexdashboard","labels_url":"https://api.github.com/repos/rstudio/flexdashboard/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/flexdashboard/issues/107/comments","events_url":"https://api.github.com/repos/rstudio/flexdashboard/issues/107/events","html_url":"https://github.com/rstudio/flexdashboard/issues/107","id":206012408,"number":107,"title":"Error: could not find function \"xpath_class\" when deploying to shinyapps.io","user":{"login":"pssguy","id":2775918,"avatar_url":"https://avatars.githubusercontent.com/u/2775918?v=3","gravatar_id":"","url":"https://api.github.com/users/pssguy","html_url":"https://github.com/pssguy","followers_url":"https://api.github.com/users/pssguy/followers","following_url":"https://api.github.com/users/pssguy/following{/other_user}","gists_url":"https://api.github.com/users/pssguy/gists{/gist_id}","starred_url":"https://api.github.com/users/pssguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pssguy/subscriptions","organizations_url":"https://api.github.com/users/pssguy/orgs","repos_url":"https://api.github.com/users/pssguy/repos","events_url":"https://api.github.com/users/pssguy/events{/privacy}","received_events_url":"https://api.github.com/users/pssguy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-07T20:57:54Z","updated_at":"2017-02-07T21:05:20Z","closed_at":"2017-02-07T21:05:20Z","body":"Flexdashboard app with shiny runtime\r\n[here](https://mytinyshinys.shinyapps.io/wikiGuardianFlexDB/)\r\nTried ??xpath_class and got no results\r\n\r\nThe code where error occurs is old but  does work locally\r\nThe input data is from a reactive\r\n\r\n```{r }\r\n\r\n\r\noutput$wikiCard <- renderUI({\r\n  req(data)\r\n  \r\n  theName <- str_replace_all(data()$vals[1],\" \",\"_\")\r\n  url <- paste0(\"http://en.wikipedia.org/wiki/\",theName)\r\n  test <- http_status(GET(url))\r\n  \r\n  if (test$category == \"client error\")\r\n    return()\r\n\r\n  vcard <- read_html(url) %>%\r\n    html_nodes(\".vcard\")\r\n  \r\n  if (length(vcard) == 0)\r\n    return()\r\n  \r\n  vcardInfo <- vcard[[1]]\r\n  \r\n  HTML(as(vcardInfo,\"character\"))\r\n})\r\n\r\n uiOutput(\"wikiCard\")\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/rstudio/flexdashboard/issues/comments/278139567","html_url":"https://github.com/rstudio/flexdashboard/issues/107#issuecomment-278139567","issue_url":"https://api.github.com/repos/rstudio/flexdashboard/issues/107","id":278139567,"user":{"login":"jjallaire","id":104391,"avatar_url":"https://avatars.githubusercontent.com/u/104391?v=3","gravatar_id":"","url":"https://api.github.com/users/jjallaire","html_url":"https://github.com/jjallaire","followers_url":"https://api.github.com/users/jjallaire/followers","following_url":"https://api.github.com/users/jjallaire/following{/other_user}","gists_url":"https://api.github.com/users/jjallaire/gists{/gist_id}","starred_url":"https://api.github.com/users/jjallaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjallaire/subscriptions","organizations_url":"https://api.github.com/users/jjallaire/orgs","repos_url":"https://api.github.com/users/jjallaire/repos","events_url":"https://api.github.com/users/jjallaire/events{/privacy}","received_events_url":"https://api.github.com/users/jjallaire/received_events","type":"User","site_admin":false},"created_at":"2017-02-07T21:05:20Z","updated_at":"2017-02-07T21:05:20Z","body":"This is a shinyapps issue rather than a flexdashboard issue, so if the above "}}
{"actor":{"display_login":"jjallaire"}}