{"action":"created","issue":{"url":"https://api.github.com/repos/gluc/data.tree/issues/57","repository_url":"https://api.github.com/repos/gluc/data.tree","labels_url":"https://api.github.com/repos/gluc/data.tree/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/gluc/data.tree/issues/57/comments","events_url":"https://api.github.com/repos/gluc/data.tree/issues/57/events","html_url":"https://github.com/gluc/data.tree/issues/57","id":133535560,"number":57,"title":"An example doesn't work on R 3.1.2","user":{"login":"talgalili","id":976006,"avatar_url":"https://avatars.githubusercontent.com/u/976006?v=3","gravatar_id":"","url":"https://api.github.com/users/talgalili","html_url":"https://github.com/talgalili","followers_url":"https://api.github.com/users/talgalili/followers","following_url":"https://api.github.com/users/talgalili/following{/other_user}","gists_url":"https://api.github.com/users/talgalili/gists{/gist_id}","starred_url":"https://api.github.com/users/talgalili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talgalili/subscriptions","organizations_url":"https://api.github.com/users/talgalili/orgs","repos_url":"https://api.github.com/users/talgalili/repos","events_url":"https://api.github.com/users/talgalili/events{/privacy}","received_events_url":"https://api.github.com/users/talgalili/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-14T12:34:14Z","updated_at":"2016-02-14T16:00:25Z","closed_at":null,"body":"A friend of mine got an environment error when running the following code (from your example) in R 3.1.2 on mac (it works fine on my Windows R 3.2.3):\r\n\r\n\r\n```r\r\n#install.packages(\"data.tree\")\r\nlibrary(data.tree)\r\n\r\nacme <- Node$new(\"Acme Inc.\")\r\n  accounting <- acme$AddChild(\"Accounting\")\r\n    software <- accounting$AddChild(\"New Software\")\r\n    standards <- accounting$AddChild(\"New Accounting Standards\")\r\n  research <- acme$AddChild(\"Research\")\r\n    newProductLine <- research$AddChild(\"New Product Line\")\r\n    newLabs <- research$AddChild(\"New Labs\")\r\n  it <- acme$AddChild(\"IT\")\r\n    outsource <- it$AddChild(\"Outsource\")\r\n    agile <- it$AddChild(\"Go agile\")\r\n    goToR <- it$AddChild(\"Switch to R\")\r\n\r\nprint(acme)\r\nplot(acme)\r\n\r\n\r\nSetGraphStyle(acme, rankdir = \"TB\")\r\nSetEdgeStyle(acme, arrowhead = \"vee\", color = \"grey35\", penwidth = 2)\r\nSetNodeStyle(acme, style = \"filled,rounded\", shape = \"box\", fillcolor = \"GreenYellow\", \r\n            fontname = \"helvetica\", tooltip = GetDefaultTooltip)\r\nSetNodeStyle(acme$IT, fillcolor = \"LightBlue\", penwidth = \"5px\")\r\nplot(acme)\r\n\r\n\r\n```\r\n\r\nWith regards,\r\nTal\r\n"},"comment":{"url":"https://api.github.com/repos/gluc/data.tree/issues/comments/183907901","html_url":"https://github.com/gluc/data.tree/issues/57#issuecomment-183907901","issue_url":"https://api.github.com/repos/gluc/data.tree/issues/57","id":183907901,"user":{"login":"talgalili","id":976006,"avatar_url":"https://avatars.githubusercontent.com/u/976006?v=3","gravatar_id":"","url":"https://api.github.com/users/talgalili","html_url":"https://github.com/talgalili","followers_url":"https://api.github.com/users/talgalili/followers","following_url":"https://api.github.com/users/talgalili/following{/other_user}","gists_url":"https://api.github.com/users/talgalili/gists{/gist_id}","starred_url":"https://api.github.com/users/talgalili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talgalili/subscriptions","organizations_url":"https://api.github.com/users/talgalili/orgs","repos_url":"https://api.github.com/users/talgalili/repos","events_url":"https://api.github.com/users/talgalili/events{/privacy}","received_events_url":"https://api.github.com/users/talgalili/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T16:00:25Z","updated_at":"2016-02-14T16:00:25Z","body":"As said, it was on a friend's computer. She had version 0.3.0.\r\nIf you can't reproduce it, then you can let it be (she solved it by upgrading R).\r\nBut I thought you'd like to know. (maybe something else caused it - but I suspect it has to do with the R version)"}}