{"action":"created","issue":{"url":"https://api.github.com/repos/kassambara/survminer/issues/321","repository_url":"https://api.github.com/repos/kassambara/survminer","labels_url":"https://api.github.com/repos/kassambara/survminer/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/kassambara/survminer/issues/321/comments","events_url":"https://api.github.com/repos/kassambara/survminer/issues/321/events","html_url":"https://github.com/kassambara/survminer/issues/321","id":338651927,"node_id":"MDU6SXNzdWUzMzg2NTE5Mjc=","number":321,"title":"ggforest output not visible in rmarkdown","user":{"login":"grvsinghal","id":29098533,"node_id":"MDQ6VXNlcjI5MDk4NTMz","avatar_url":"https://avatars1.githubusercontent.com/u/29098533?v=4","gravatar_id":"","url":"https://api.github.com/users/grvsinghal","html_url":"https://github.com/grvsinghal","followers_url":"https://api.github.com/users/grvsinghal/followers","following_url":"https://api.github.com/users/grvsinghal/following{/other_user}","gists_url":"https://api.github.com/users/grvsinghal/gists{/gist_id}","starred_url":"https://api.github.com/users/grvsinghal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grvsinghal/subscriptions","organizations_url":"https://api.github.com/users/grvsinghal/orgs","repos_url":"https://api.github.com/users/grvsinghal/repos","events_url":"https://api.github.com/users/grvsinghal/events{/privacy}","received_events_url":"https://api.github.com/users/grvsinghal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-05T16:50:59Z","updated_at":"2018-07-07T07:06:09Z","closed_at":null,"author_association":"NONE","body":"### Expected behavior \r\nWhen I execute `ggforest` in R-markdown, the plot should get rendered\r\n### Actual behavior\r\nNo graph shows up\r\n### Steps to reproduce the problem\r\n````{R}\r\nlibrary(ggplot2)\r\nlibrary(survival)\r\nlibrary(survminer)\r\n\r\ndata(\"veteran\")\r\ncox = coxph(Surv(time, status) ~ karno+celltype, data = veteran)\r\nggforest(cox, data = veteran)\r\n````\r\n\r\n````{R}\r\n# please paste here the result of\r\ndevtools::session_info()\r\nSession info ------------------------------------------------------------------------------------------------\r\n setting  value                       \r\n version  R version 3.4.4 (2018-03-15)\r\n system   x86_64, mingw32             \r\n ui       RStudio (1.1.442)           \r\n language (EN)                        \r\n collate  English_United States.1252  \r\n tz       Asia/Calcutta               \r\n date     2018-07-05                  \r\n\r\nPackages ----------------------------------------------------------------------------------------------------\r\n package    * version   date       source        \r\n assertthat   0.2.0     2017-04-11 CRAN (R 3.4.4)\r\n base       * 3.4.4     2018-03-15 local         \r\n bindr        0.1.1     2018-03-13 CRAN (R 3.4.4)\r\n bindrcpp     0.2.2     2018-03-29 CRAN (R 3.4.4)\r\n broom        0.4.5     2018-07-03 CRAN (R 3.4.4)\r\n cmprsk       2.2-7     2014-06-17 CRAN (R 3.4.4)\r\n colorspace   1.3-2     2016-12-14 CRAN (R 3.4.4)\r\n compiler     3.4.4     2018-03-15 local         \r\n data.table   1.11.4    2018-05-27 CRAN (R 3.4.4)\r\n datasets   * 3.4.4     2018-03-15 local         \r\n devtools     1.13.5    2018-02-18 CRAN (R 3.4.3)\r\n digest       0.6.15    2018-01-28 CRAN (R 3.4.3)\r\n dplyr        0.7.5     2018-05-19 CRAN (R 3.4.4)\r\n foreign      0.8-69    2017-06-22 CRAN (R 3.4.4)\r\n ggplot2    * 2.2.1     2016-12-30 CRAN (R 3.4.4)\r\n ggpubr     * 0.1.6     2017-11-14 CRAN (R 3.4.4)\r\n glue         1.2.0     2017-10-29 CRAN (R 3.4.4)\r\n graphics   * 3.4.4     2018-03-15 local         \r\n grDevices  * 3.4.4     2018-03-15 local         \r\n grid         3.4.4     2018-03-15 local         \r\n gridExtra    2.3       2017-09-09 CRAN (R 3.4.4)\r\n gtable       0.2.0     2016-02-26 CRAN (R 3.4.4)\r\n km.ci        0.5-2     2009-08-30 CRAN (R 3.4.4)\r\n KMsurv       0.1-5     2012-12-03 CRAN (R 3.4.1)\r\n knitr        1.20      2018-02-20 CRAN (R 3.4.4)\r\n labeling     0.3       2014-08-23 CRAN (R 3.4.1)\r\n lattice      0.20-35   2017-03-25 CRAN (R 3.4.4)\r\n lazyeval     0.2.1     2017-10-29 CRAN (R 3.4.4)\r\n magrittr   * 1.5       2014-11-22 CRAN (R 3.4.4)\r\n Matrix       1.2-12    2017-11-30 CRAN (R 3.4.4)\r\n memoise      1.1.0     2017-04-21 CRAN (R 3.4.4)\r\n methods    * 3.4.4     2018-03-15 local         \r\n mnormt       1.5-5     2016-10-15 CRAN (R 3.4.1)\r\n munsell      0.4.3     2016-02-13 CRAN (R 3.4.4)\r\n nlme         3.1-131.1 2018-02-16 CRAN (R 3.4.4)\r\n parallel     3.4.4     2018-03-15 local         \r\n pillar       1.2.3     2018-05-25 CRAN (R 3.4.4)\r\n pkgconfig    2.0.1     2017-03-21 CRAN (R 3.4.4)\r\n plyr         1.8.4     2016-06-08 CRAN (R 3.4.4)\r\n psych        1.8.4     2018-05-06 CRAN (R 3.4.4)\r\n purrr        0.2.5     2018-05-29 CRAN (R 3.4.4)\r\n R6           2.2.2     2017-06-17 CRAN (R 3.4.4)\r\n Rcpp         0.12.16   2018-03-13 CRAN (R 3.4.4)\r\n reshape2     1.4.3     2017-12-11 CRAN (R 3.4.4)\r\n rlang        0.2.1     2018-05-30 CRAN (R 3.4.4)\r\n scales       0.5.0     2017-08-24 CRAN (R 3.4.4)\r\n splines      3.4.4     2018-03-15 local         \r\n stats      * 3.4.4     2018-03-15 local         \r\n stringi      1.1.7     2018-03-12 CRAN (R 3.4.4)\r\n stringr      1.3.1     2018-05-10 CRAN (R 3.4.4)\r\n survival   * 2.41-3    2017-04-04 CRAN (R 3.4.4)\r\n survminer  * 0.4.2     2018-01-31 CRAN (R 3.4.4)\r\n survMisc     0.5.5     2018-07-05 CRAN (R 3.4.4)\r\n tibble       1.4.2     2018-01-22 CRAN (R 3.4.4)\r\n tidyr        0.8.1     2018-05-18 CRAN (R 3.4.4)\r\n tidyselect   0.2.4     2018-02-26 CRAN (R 3.4.4)\r\n tools        3.4.4     2018-03-15 local         \r\n utils      * 3.4.4     2018-03-15 local         \r\n withr        2.1.2     2018-03-15 CRAN (R 3.4.4)\r\n xtable       1.8-2     2016-02-05 CRAN (R 3.4.4)\r\n yaml         2.1.19    2018-05-01 CRAN (R 3.4.4)\r\n zoo          1.8-1     2018-01-08 CRAN (R 3.4.4)\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/kassambara/survminer/issues/comments/403194548","html_url":"https://github.com/kassambara/survminer/issues/321#issuecomment-403194548","issue_url":"https://api.github.com/repos/kassambara/survminer/issues/321","id":403194548,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzE5NDU0OA==","user":{"login":"kassambara","id":3313355,"node_id":"MDQ6VXNlcjMzMTMzNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/3313355?v=4","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":"2018-07-07T07:06:09Z","updated_at":"2018-07-07T07:06:09Z","author_association":"OWNER","body":"This issue is not reproducible on my computer.\r\n\r\n<pre>\r\nSession info ---------------------------------------------------------------------------------------------------------------------\r\n setting  value                       \r\n version  R version 3.3.2 (2016-10-31)\r\n system   x86_64, darwin13.4.0        \r\n ui       RStudio (1.1.423)           \r\n language (EN)                        \r\n collate  fr_FR.UTF-8                 \r\n tz       Europe/Paris                \r\n date     2018-07-07                  \r\n\r\nPackages -------------------------------------------------------------------------------------------------------------------------\r\n package    * version    date       source                               \r\n assertthat   0.2.0.9000 2017-11-08 Github (hadley/assertthat@37f0a56)   \r\n base       * 3.3.2      2016-10-31 local                                \r\n bindr        0.1        2016-11-13 cran (@0.1)                          \r\n bindrcpp     0.2        2017-06-17 cran (@0.2)                          \r\n broom        0.4.3      2017-11-20 cran (@0.4.3)                        \r\n cmprsk       2.2-7      2014-06-17 CRAN (R 3.3.0)                       \r\n colorspace   1.4-0      2017-10-23 url                                  \r\n data.table   1.10.4     2017-02-01 cran (@1.10.4)                       \r\n datasets   * 3.3.2      2016-10-31 local                                \r\n devtools   * 1.13.1     2017-05-13 CRAN (R 3.3.2)                       \r\n digest       0.6.15     2018-01-28 cran (@0.6.15)                       \r\n dplyr        0.7.4      2017-09-28 cran (@0.7.4)                        \r\n foreign      0.8-67     2016-09-13 CRAN (R 3.3.2)                       \r\n ggplot2    * 2.2.1.9000 2018-06-30 Github (tidyverse/ggplot2@348b26f)   \r\n ggpubr     * 0.1.7.999  2018-06-30 local (kassambara/ggpubr@8f7fa67)    \r\n glue         1.2.0      2017-10-29 cran (@1.2.0)                        \r\n graphics   * 3.3.2      2016-10-31 local                                \r\n grDevices  * 3.3.2      2016-10-31 local                                \r\n grid         3.3.2      2016-10-31 local                                \r\n gridExtra    2.3        2017-09-09 cran (@2.3)                          \r\n gtable       0.2.0      2016-02-26 CRAN (R 3.3.0)                       \r\n km.ci        0.5-2      2009-08-30 CRAN (R 3.3.0)                       \r\n KMsurv       0.1-5      2012-12-03 CRAN (R 3.3.0)                       \r\n knitr        1.18       2017-12-27 cran (@1.18)                         \r\n labeling     0.3        2014-08-23 CRAN (R 3.3.0)                       \r\n lattice      0.20-34    2016-09-06 CRAN (R 3.3.2)                       \r\n lazyeval     0.2.1      2017-10-29 cran (@0.2.1)                        \r\n magrittr   * 1.5        2014-11-22 CRAN (R 3.3.0)                       \r\n Matrix       1.2-11     2017-08-16 CRAN (R 3.3.2)                       \r\n memoise      1.1.0      2017-04-21 cran (@1.1.0)                        \r\n methods    * 3.3.2      2016-10-31 local                                \r\n mnormt       1.5-5      2016-10-15 CRAN (R 3.3.0)                       \r\n munsell      0.4.3      2016-02-13 CRAN (R 3.3.0)                       \r\n nlme         3.1-131    2017-02-06 CRAN (R 3.3.2)                       \r\n parallel     3.3.2      2016-10-31 local                                \r\n pkgconfig    2.0.1      2017-03-21 cran (@2.0.1)                        \r\n plyr         1.8.4      2016-06-08 CRAN (R 3.3.0)                       \r\n psych        1.7.3.21   2017-03-22 cran (@1.7.3.2)                      \r\n purrr        0.2.4      2017-10-18 cran (@0.2.4)                        \r\n R6           2.2.2      2017-06-17 cran (@2.2.2)                        \r\n Rcpp         0.12.14    2017-11-23 cran (@0.12.14)                      \r\n reshape2     1.4.3      2017-12-11 cran (@1.4.3)                        \r\n rlang        0.2.0.9001 2018-06-30 Github (tidyverse/rlang@ba4fb06)     \r\n scales       0.5.0.9000 2018-06-17 Github (hadley/scales@4056ec3)       \r\n splines      3.3.2      2016-10-31 local                                \r\n stats      * 3.3.2      2016-10-31 local                                \r\n stringi      1.1.6      2017-11-17 cran (@1.1.6)                        \r\n stringr      1.3.0      2018-02-19 cran (@1.3.0)                        \r\n survival   * 2.41-3     2017-04-04 CRAN (R 3.3.2)                       \r\n survminer  * 0.3.1.999  2017-06-05 Github (kassambara/survminer@8511dee)\r\n survMisc     0.5.4      2016-11-23 CRAN (R 3.3.2)                       \r\n tibble       1.3.4      2017-08-22 cran (@1.3.4)                        \r\n tidyr        0.8.1.9000 2018-06-30 Github (tidyverse/tidyr@cbdd14e)     \r\n tools        3.3.2      2016-10-31 local                                \r\n utils      * 3.3.2      2016-10-31 local                                \r\n withr        2.1.2      2018-06-30 Github (jimhester/withr@fe56f20)     \r\n xtable       1.8-2      2016-02-05 CRAN (R 3.3.0)                       \r\n yaml         2.1.16     2017-12-12 cran (@2.1.16)                       \r\n zoo          1.7-14     2016-12-16 CRAN (R 3.3.2)   \r\n</pre>"}}
{"actor":{"display_login":"kassambara"}}