{"action":"opened","issue":{"url":"https://api.github.com/repos/ramnathv/htmlwidgets/issues/128","labels_url":"https://api.github.com/repos/ramnathv/htmlwidgets/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/ramnathv/htmlwidgets/issues/128/comments","events_url":"https://api.github.com/repos/ramnathv/htmlwidgets/issues/128/events","html_url":"https://github.com/ramnathv/htmlwidgets/issues/128","id":89337719,"number":128,"title":"file(\"\") only supports open = \"w+\" and open = \"w+b\": using the former","user":{"login":"nsh87","id":4327717,"avatar_url":"https://avatars.githubusercontent.com/u/4327717?v=3","gravatar_id":"","url":"https://api.github.com/users/nsh87","html_url":"https://github.com/nsh87","followers_url":"https://api.github.com/users/nsh87/followers","following_url":"https://api.github.com/users/nsh87/following{/other_user}","gists_url":"https://api.github.com/users/nsh87/gists{/gist_id}","starred_url":"https://api.github.com/users/nsh87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsh87/subscriptions","organizations_url":"https://api.github.com/users/nsh87/orgs","repos_url":"https://api.github.com/users/nsh87/repos","events_url":"https://api.github.com/users/nsh87/events{/privacy}","received_events_url":"https://api.github.com/users/nsh87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-18T16:32:14Z","updated_at":"2015-06-18T16:32:14Z","closed_at":null,"body":"Every so often I start getting this warning when `createWidget` runs at the end of my widget's function:\r\n\r\n```R\r\nWarning message:\r\nIn file(con, \"r\") :\r\n  file(\"\") only supports open = \"w+\" and open = \"w+b\": using the former\r\n```\r\n\r\nI think \"warning\" is a bit misleading, seems more like an error: the widget ends up just being blank because most of my dependencies don't get attached to the HTML when I see this warning - it looks like the only one that gets attached is a dependency I define outside of my widget's `.yaml`. My DOM ends up looking like this:\r\n\r\n![screen shot 2015-06-18 at 9 21 16 am](https://cloud.githubusercontent.com/assets/4327717/8236191/9b1ab7f0-159b-11e5-8f29-b2bdf6548d65.png)\r\n\r\nWhen it normally looks like this:\r\n\r\n![screen shot 2015-06-18 at 9 25 56 am](https://cloud.githubusercontent.com/assets/4327717/8236292/388d7360-159c-11e5-9c95-d8af186ef86f.png)\r\n\r\nI've run a debug and it looks like the error is happening on `createWidget`, but I haven't done further debugging into the function call.\r\n\r\n```R\r\nBrowse[2]> \r\ndebug at /Users/Nikhil/dev/receptormarker/receptormarker/R/radial_phylo.R\r\n#892: htmlwidgets::createWidget(name = \"radial_phylo\", x, width = width, \r\n    height = height, htmlwidgets::sizingPolicy(padding = 22, \r\n        viewer.suppress = browser, browser.fill = TRUE), package = \"receptormarker\", \r\n    dependencies = phyloxml)\r\nBrowse[2]> \r\nexiting from: radial_phylo(tcr, \"seqs\", verbose = TRUE)\r\nWarning message:\r\nIn file(con, \"r\") :\r\n  file(\"\") only supports open = \"w+\" and open = \"w+b\": using the former\r\n> \r\n```\r\n\r\nI can get rid of the error simply by restarting R (RStudio in my case). I don't have any experience with this warning."}}