{"action":"opened","issue":{"url":"https://api.github.com/repos/rstudio/radix/issues/43","repository_url":"https://api.github.com/repos/rstudio/radix","labels_url":"https://api.github.com/repos/rstudio/radix/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/radix/issues/43/comments","events_url":"https://api.github.com/repos/rstudio/radix/issues/43/events","html_url":"https://github.com/rstudio/radix/issues/43","id":367140708,"node_id":"MDU6SXNzdWUzNjcxNDA3MDg=","number":43,"title":"Code chunks not respecting `echo=TRUE`","user":{"login":"Altons","id":244547,"node_id":"MDQ6VXNlcjI0NDU0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/244547?v=4","gravatar_id":"","url":"https://api.github.com/users/Altons","html_url":"https://github.com/Altons","followers_url":"https://api.github.com/users/Altons/followers","following_url":"https://api.github.com/users/Altons/following{/other_user}","gists_url":"https://api.github.com/users/Altons/gists{/gist_id}","starred_url":"https://api.github.com/users/Altons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Altons/subscriptions","organizations_url":"https://api.github.com/users/Altons/orgs","repos_url":"https://api.github.com/users/Altons/repos","events_url":"https://api.github.com/users/Altons/events{/privacy}","received_events_url":"https://api.github.com/users/Altons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-05T09:57:13Z","updated_at":"2018-10-05T09:57:13Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am facing a problem where a `{ruby, echo=TRUE}` is not displaying the code snippet in my article. R and python works fine.\r\n\r\nHere is the link to my [article](http://www.dataaddict.me/posts/2018-10-04-radix-the-joy-of-blogging/)\r\n\r\nand my `.Rmd` contains the following snippets:\r\n\r\nat the top:\r\n\r\n```{r setup, include=FALSE}\r\n# path for ruby & python\r\nknitr::opts_chunk$set(engine.path = list(\r\n  python = '~/anaconda3/bin/python',\r\n  ruby = '/Users/anegron/.rbenv/shims/ruby'\r\n))\r\n```\r\n\r\nand then the offeding chunk:\r\n\r\n```\r\n{ruby ruby-example, echo=TRUE}\r\np \"Hello Radix\".split('')\r\n```\r\nI have tried variations of the above without success:\r\n\r\n```\r\n{r ruby-example, engine='ruby', echo=TRUE}\r\np \"Hello Radix\".split('')\r\n```\r\n\r\nknit log shows it is passing the chunk to ruby and picking up options correctly:\r\n\r\n```\r\n\r\nprocessing file: radix-the-joy-of-blogging.Rmd\r\n  |.....                                                            |   8%\r\n  ordinary text without R code\r\n\r\n  |..........                                                       |  15%\r\nlabel: setup (with options) \r\nList of 1\r\n $ include: logi FALSE\r\n\r\n  |...............                                                  |  23%\r\n  ordinary text without R code\r\n\r\n  |....................                                             |  31%\r\nlabel: image (with options) \r\nList of 1\r\n $ preview: logi TRUE\r\n\r\n  |.........................                                        |  38%\r\n  ordinary text without R code\r\n\r\n  |..............................                                   |  46%\r\nlabel: ruby-example (with options) \r\nList of 2\r\n $ echo  : logi TRUE\r\n $ engine: chr \"ruby\"\r\n\r\nrunning: /Users/anegron/.rbenv/shims/ruby  -e \"p \\\"Hello Radix\\\".split('')\"\r\n  |...................................                              |  54%\r\n  ordinary text without R code\r\n\r\n  |........................................                         |  62%\r\nlabel: ggplot (with options) \r\nList of 1\r\n $ echo: logi TRUE\r\n\r\n  |.............................................                    |  69%\r\n  ordinary text without R code\r\n\r\n  |..................................................               |  77%\r\nlabel: python-example (with options) \r\nList of 2\r\n $ echo  : logi TRUE\r\n $ engine: chr \"python\"\r\n\r\n  |.......................................................          |  85%\r\n  ordinary text without R code\r\n\r\n  |............................................................     |  92%\r\nlabel: unnamed-chunk-1\r\n  |.................................................................| 100%\r\n  ordinary text without R code\r\n\r\n\r\noutput file: radix-the-joy-of-blogging.knit.md\r\n\r\n/Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS radix-the-joy-of-blogging.utf8.md --to html5 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output radix-the-joy-of-blogging.html --email-obfuscation none --standalone --no-highlight --template /Users/anegron/Dropbox/rpackages/radix/rmarkdown/templates/radix_article/resources/default.html --lua-filter /Users/anegron/Dropbox/rpackages/radix/rmarkdown/templates/radix_article/resources/distill.lua '--metadata=link-citations:true' --include-in-header /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e31eda3af3html --include-in-header /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e31425aed8ehtml --include-in-header /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e3119542f23html --include-in-header /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e316d2ff494html --include-in-header /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e316e4666e4html --include-before-body /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e31271d7200html --include-before-body /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e31c1bd86bhtml --include-before-body /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e3156a5992chtml --include-after-body /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e317534eeefhtml --include-after-body /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e312fcfffbehtml --include-after-body /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e317c160bcchtml --include-in-header /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/rmarkdown-str12e31b60bdb9.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /var/folders/nq/4_r9thys78bcct7vww6sbwdw0000gn/T//Rtmp19Vzer/file12e312c50ffc8html \r\n\r\nOutput created: /Users/anegron/projects/blog/_site/posts/2018-10-04-radix-the-joy-of-blogging/index.html\r\n\r\nNice work done! Keep up the good work!\r\n```\r\n\r\nhere is my session info:\r\n\r\n```\r\n> sessionInfo()\r\nR version 3.5.0 (2018-04-23)\r\nPlatform: x86_64-apple-darwin15.6.0 (64-bit)\r\nRunning under: macOS High Sierra 10.13.6\r\n\r\nMatrix products: default\r\nBLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib\r\nLAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib\r\n\r\nlocale:\r\n[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8\r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nloaded via a namespace (and not attached):\r\n [1] Rcpp_0.12.17    lattice_0.20-35 lubridate_1.7.4 packrat_0.4.9-3 digest_0.6.15   rprojroot_1.3-2 mime_0.5       \r\n [8] grid_3.5.0      jsonlite_1.5    backports_1.1.2 magrittr_1.5    evaluate_0.10.1 stringi_1.2.2   rstudioapi_0.7 \r\n[15] Matrix_1.2-14   xml2_1.2.0      reticulate_1.10 rmarkdown_1.10  tools_3.5.0     stringr_1.3.1   markdown_0.8   \r\n[22] yaml_2.1.19     rsconnect_0.8.8 compiler_3.5.0  radix_0.5       htmltools_0.3.6 knitr_1.20   \r\n```\r\n"}}
{"actor":{"display_login":"Altons"}}