{"action":"created","issue":{"url":"https://api.github.com/repos/kassambara/ggpubr/issues/8","repository_url":"https://api.github.com/repos/kassambara/ggpubr","labels_url":"https://api.github.com/repos/kassambara/ggpubr/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/kassambara/ggpubr/issues/8/comments","events_url":"https://api.github.com/repos/kassambara/ggpubr/issues/8/events","html_url":"https://github.com/kassambara/ggpubr/issues/8","id":238015359,"number":8,"title":"Error: No stat called StatSignif.","user":{"login":"zhouyisu","id":11703069,"avatar_url":"https://avatars2.githubusercontent.com/u/11703069?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouyisu","html_url":"https://github.com/zhouyisu","followers_url":"https://api.github.com/users/zhouyisu/followers","following_url":"https://api.github.com/users/zhouyisu/following{/other_user}","gists_url":"https://api.github.com/users/zhouyisu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouyisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouyisu/subscriptions","organizations_url":"https://api.github.com/users/zhouyisu/orgs","repos_url":"https://api.github.com/users/zhouyisu/repos","events_url":"https://api.github.com/users/zhouyisu/events{/privacy}","received_events_url":"https://api.github.com/users/zhouyisu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-23T01:18:29Z","updated_at":"2017-06-23T05:53:07Z","closed_at":null,"body":"I tried replicating the example:\r\n\r\n```\r\ndata(\"ToothGrowth\")\r\ndf <- ToothGrowth\r\n\r\np <- ggboxplot(df, x = \"dose\", y = \"len\",\r\n               color = \"dose\", palette =c(\"#00AFBB\", \"#E7B800\", \"#FC4E07\"),\r\n               add = \"jitter\", shape = \"dose\")\r\n\r\nmy_comparisons <- list( c(\"0.5\", \"1\"), c(\"1\", \"2\"), c(\"0.5\", \"2\") )\r\np + stat_compare_means(comparisons = my_comparisons)+ stat_compare_means(label.y = 50) \r\n```\r\n\r\nbut returned an error message: Error: No stat called StatSignif. Any advice? I am on ggplot2_2.2.1."},"comment":{"url":"https://api.github.com/repos/kassambara/ggpubr/issues/comments/310578408","html_url":"https://github.com/kassambara/ggpubr/issues/8#issuecomment-310578408","issue_url":"https://api.github.com/repos/kassambara/ggpubr/issues/8","id":310578408,"user":{"login":"kassambara","id":3313355,"avatar_url":"https://avatars0.githubusercontent.com/u/3313355?v=3","gravatar_id":"","url":"https://api.github.com/users/kassambara","html_url":"https://github.com/kassambara","followers_url":"https://api.github.com/users/kassambara/followers","following_url":"https://api.github.com/users/kassambara/following{/other_user}","gists_url":"https://api.github.com/users/kassambara/gists{/gist_id}","starred_url":"https://api.github.com/users/kassambara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kassambara/subscriptions","organizations_url":"https://api.github.com/users/kassambara/orgs","repos_url":"https://api.github.com/users/kassambara/repos","events_url":"https://api.github.com/users/kassambara/events{/privacy}","received_events_url":"https://api.github.com/users/kassambara/received_events","type":"User","site_admin":false},"created_at":"2017-06-23T05:53:07Z","updated_at":"2017-06-23T05:53:07Z","body":"I'm also on ggplot2_2.2.1 and it works.\r\n\r\ngenerally, re-installing ggplot2 solves this type of issues.\r\n\r\nIf it still fails, please, post the output of:\r\n\r\n```r\r\ndevtools::session_info()\r\n```"}}
{"actor":{"display_login":"kassambara"}}