{"action":"opened","issue":{"url":"https://api.github.com/repos/rstudio/rmarkdown/issues/829","repository_url":"https://api.github.com/repos/rstudio/rmarkdown","labels_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/829/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/829/comments","events_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/829/events","html_url":"https://github.com/rstudio/rmarkdown/issues/829","id":181813345,"number":829,"title":"data.table := causes printing on dev version of rmarkdown","user":{"login":"shrektan","id":8368933,"avatar_url":"https://avatars.githubusercontent.com/u/8368933?v=3","gravatar_id":"","url":"https://api.github.com/users/shrektan","html_url":"https://github.com/shrektan","followers_url":"https://api.github.com/users/shrektan/followers","following_url":"https://api.github.com/users/shrektan/following{/other_user}","gists_url":"https://api.github.com/users/shrektan/gists{/gist_id}","starred_url":"https://api.github.com/users/shrektan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrektan/subscriptions","organizations_url":"https://api.github.com/users/shrektan/orgs","repos_url":"https://api.github.com/users/shrektan/repos","events_url":"https://api.github.com/users/shrektan/events{/privacy}","received_events_url":"https://api.github.com/users/shrektan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-08T08:36:15Z","updated_at":"2016-10-08T08:36:15Z","closed_at":null,"body":"### Issue Description\r\n\r\nOn the dev version of `rmarkdown`, the `:=` of `data.table` will print automatically. This phenomenon occurs only when dev version of  `rmarkdown` being loaded (the CRAN version is ok ).\r\n\r\nAlso, when using `knitr` to render the `rnw` files, if `library(rmarkdown)` (the dev version) was placed in the head of the document, the `:=` will start printing. However, if there's no `library(rmarkdown)` in the head, `:=` behaves normally.\r\n\r\n### Reproducible Code\r\n\r\n```r\r\nrmd <- tempfile(fileext = \".rmd\")\r\ndownload.file(\"https://raw.githubusercontent.com/shrektan/temporary/master/datatableprinting.rmd\",\r\n              rmd)\r\nhtml <- tempfile(fileext =  \".html\")\r\nrmarkdown::render(rmd, output_format = rmarkdown::html_document(), output_file = html)\r\nshell(html)\r\n```\r\n\r\n### My session info\r\n\r\n```\r\nsessionInfo()\r\n## R version 3.3.1 (2016-06-21)\r\n## Platform: x86_64-w64-mingw32/x64 (64-bit)\r\n## Running under: Windows 7 x64 (build 7601) Service Pack 1\r\n## \r\n## locale:\r\n## [1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936 \r\n## [2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936   \r\n## [3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936\r\n## [4] LC_NUMERIC=C                                                   \r\n## [5] LC_TIME=Chinese (Simplified)_People's Republic of China.936    \r\n## \r\n## attached base packages:\r\n## [1] stats     graphics  grDevices utils     datasets  methods   base     \r\n## \r\n## other attached packages:\r\n## [1] rmarkdown_1.0.9016 data.table_1.9.6  \r\n## \r\n## loaded via a namespace (and not attached):\r\n##  [1] Rcpp_0.12.7     withr_1.0.2     digest_0.6.10   assertthat_0.1 \r\n##  [5] chron_2.3-47    formatR_1.4     magrittr_1.5    evaluate_0.9   \r\n##  [9] stringi_1.1.2   rstudioapi_0.6  devtools_1.12.0 tools_3.3.1    \r\n## [13] stringr_1.1.0   yaml_2.1.13     memoise_1.0.0   htmltools_0.3.5\r\n## [17] knitr_1.14      tibble_1.2\r\ndevtools::session_info()\r\n## Session info --------------------------------------------------------------\r\n##  setting  value                                              \r\n##  version  R version 3.3.1 (2016-06-21)                       \r\n##  system   x86_64, mingw32                                    \r\n##  ui       RStudio (1.0.25)                                   \r\n##  language (EN)                                               \r\n##  collate  Chinese (Simplified)_People's Republic of China.936\r\n##  tz       Asia/Taipei                                        \r\n##  date     2016-10-08\r\n## Packages ------------------------------------------------------------------\r\n##  package    * version  date       source                            \r\n##  assertthat   0.1      2013-12-06 CRAN (R 3.1.1)                    \r\n##  chron        2.3-47   2015-06-24 CRAN (R 3.2.1)                    \r\n##  data.table * 1.9.6    2015-09-19 CRAN (R 3.3.1)                    \r\n##  devtools     1.12.0   2016-06-24 CRAN (R 3.3.1)                    \r\n##  digest       0.6.10   2016-08-02 CRAN (R 3.3.1)                    \r\n##  evaluate     0.9      2016-04-29 CRAN (R 3.2.5)                    \r\n##  formatR      1.4      2016-05-09 CRAN (R 3.2.5)                    \r\n##  htmltools    0.3.5    2016-03-21 CRAN (R 3.2.4)                    \r\n##  knitr        1.14     2016-08-13 CRAN (R 3.3.1)                    \r\n##  magrittr     1.5      2014-11-22 CRAN (R 3.1.2)                    \r\n##  memoise      1.0.0    2016-01-29 CRAN (R 3.2.3)                    \r\n##  Rcpp         0.12.7   2016-09-05 CRAN (R 3.3.1)                    \r\n##  rmarkdown  * 1.0.9016 2016-10-08 Github (rstudio/rmarkdown@c8489eb)\r\n##  rstudioapi   0.6      2016-06-27 CRAN (R 3.3.1)                    \r\n##  stringi      1.1.2    2016-10-01 CRAN (R 3.3.1)                    \r\n##  stringr      1.1.0    2016-08-19 CRAN (R 3.3.1)                    \r\n##  tibble       1.2      2016-08-26 CRAN (R 3.3.1)                    \r\n##  withr        1.0.2    2016-06-20 CRAN (R 3.2.5)                    \r\n##  yaml         2.1.13   2014-06-12 CRAN (R 3.1.2)\r\n```\r\nrefers to https://github.com/Rdatatable/data.table/issues/1869"}}
{"actor":{"display_login":"shrektan"}}