Yihui Xie

Yihui's TODO List

This page contains my TODO items, which I try to update every day. I guess I will never be able to finish all the work, so I will appreciate your help with any of the items on this page (fixing bugs, answering questions, or implementing features). Please feel free to let me know if you want to work on anything, and I will be happy to assist you.

Looking at these items, you may make a better decision on whether to ask questions on a public forum before emailing me, according to my current status below. Please feel free to email me anyway if you do not need a prompt response, and please forgive my slow response.


At the moment, I have 152 emails in my inbox to be dealt with (the earliest that I have not replied to was from Nov 21, 2018), 25 unread Github issues/PRs, and about 30 tabs open in my browser.

I just came back from vacation on July 14, 2021. I’m catching up on Github issues and emails.


  1. Update jQuery in bookdown: https://github.com/rstudio/bookdown/issues/1118 https://github.com/rstudio/bookdown/pull/882 https://github.com/rstudio/bookdown/pull/693
  2. Revert inline CSS to <style>: https://github.com/rstudio/bookdown/issues/1170
  3. Questions to be answered:
  4. blogdown book PRs: https://github.com/rstudio/blogdown/pull/619 https://github.com/rstudio/blogdown/pull/620 https://github.com/rstudio/blogdown/pull/623
  5. Read and probably respond to a few posts related to blogdown:
  6. Max’s SO question on highlighting inline code, which should be solvable via highr.
  7. Replace sundown with commonmark in markdown: https://github.com/yihui/knitr/issues/1329
  8. Optimize images automatically in blogdown
  9. Fix relative paths in Hugo’s RSS feeds: https://github.com/rstudio/blogdown/issues/384
  10. hugo-prose: https://github.com/yihui/hugo-prose/pull/41
  11. Scrollama with blogdown/distill: https://github.com/yihui/rolldown/issues/14
  12. Watch https://resources.rstudio.com/resources/rstudioglobal-2021/
  13. A possible book: Presentation Ninja (xaringan, ioslides, slidy, revealjs, PowerPoint, beamer, shower, etc).
  14. A possible book about pagedown and CSS.
  15. Reply to https://github.com/yihui/rmarkdown-cookbook/issues/215#issuecomment-633148829
  16. Digest https://github.com/rstudio/distill/issues/152.
  17. Look into this problem: https://stackoverflow.com/q/60014350/559676. Sounds like a bug introduced by a certain version of bookdown.
  18. Review https://github.com/rstudio/DT/pull/836


This section is cleaned up from time to time.

  1. Syntax highlighting of |>: https://github.com/rstudio/bookdown/issues/1157
  2. targets engine in knitr: https://github.com/yihui/knitr/pull/2031
  3. Delete the duplicated config/ dir: https://github.com/rstudio/blogdown/issues/644
  4. Release blogdown to CRAN: https://github.com/rstudio/blogdown/releases/tag/v1.4
  5. review https://github.com/rstudio/bookdown/pull/1201
  6. install arm hugo: https://github.com/rstudio/blogdown/issues/636
  7. clean *_files dirs: https://github.com/rstudio/blogdown/issues/632
  8. https://github.com/rstudio/rmarkdown/pull/2190
  9. https://github.com/rstudio/bookdown/pull/1035
  10. https://github.com/yihui/tinytex/pull/318
  11. https://github.com/rstudio/rmarkdown/issues/2187
  12. bookdown 404 https://github.com/rstudio/bookdown/pull/1035
  13. keep the first URL only in citation https://github.com/yihui/knitr/issues/2028
  14. Hugo academic theme is broken again: https://github.com/rbind/apreshill/issues/44#issuecomment-873312747 https://github.com/rstudio/blogdown/issues/638
  15. A talk in the “My first useR” session at useR 2021 on July 4th, tentatively titled “My journey in writing books and blogging about R”.
  16. Write out tinytex regexes to json: https://yihui.org/tinytex/regex.tar.gz


  1. Support HTML widgets in pagedown: https://github.com/rstudio/pagedown/pull/87
  2. A Hugo theme based paged.js? https://www.pagedjs.org
  3. A Hugo layout for cards? https://apreshill.github.io/postcard/about.html
  4. A possible book on small successes. https://www.tiffanymatthe.com/not-extraordinary
  5. Google doc to Markdown?
  6. Read Miles’s introduction to drake and include it in the R Markdown Cookbook: https://milesmcbain.xyz/the-drake-post/ (Update: Will said targets would be the new drake, so no need to introduce drake)
  7. Record a video about CSS selectors for R Markdown users.

Help Needed

If anyone is interested in any of the items below, please feel free to let me know. I’d be happy to explain more, or do a video chat with you.

  1. How can users build and install their own version of TinyTeX? Short answer: install TinyTeX-0, use tlmgr to install the packages they need, zip the TinyTeX installation directory, and publish it somewhere (e.g., Github Releases, or AppVeyor artifacts). To install this custom version of TinyTeX, I’ll need to provide an environment variable to customize the URL in my installation scripts (e.g., not hard-coding yihui.org or github.com/yihui/tinytex-releases in install-bin-unix.sh), so they can be reused by others.
  2. Introduce the easier way to start a bookdown project using the RStudio IDE in the book: https://github.com/rstudio/bookdown/issues/225
  3. Build rggobi on r-universe.dev: https://github.com/ggobi/rggobi/issues/7
  4. More accessibility/navigation tags in knitr::kable_html(): https://github.com/yihui/knitr/issues/1747
  5. Generate the Table of Contents for xaringan slides: https://github.com/yihui/xaringan/issues/217
  6. How to render math expressions without MathJax? https://stackoverflow.com/q/57121846/559676 Alternative methods are listed here: https://pandoc.org/MANUAL.html#math-rendering-in-html
  7. The pain of using rmarkdown on network drives: https://github.com/rstudio/rmarkdown/issues/1268
  8. BibTeX references showing up twice in bookdown: https://github.com/rstudio/bookdown/issues/751
  9. Make TinyTeX more portable: https://github.com/yihui/tinytex/issues/133
  10. xfun::numbers_to_words() for numbers with decimal places: https://github.com/yihui/xfun/issues/18
  11. Live code in xaringan: https://github.com/yihui/xaringan/issues/206 The implementation is not totally clear to me, but I imagine users can double click on a code block on a slide to edit the code, and the edit can be sent back to the RStudio IDE or executed.


  1. What does it mean to be generous? https://github.com/ropensci/targets/issues/503 I don’t think I’m generous in this case.
  2. https://statmodeling.stat.columbia.edu/2021/05/23/thinking-fast-slow-and-not-at-all-system-3-jumps-the-shark/ https://twitter.com/kjhealy/status/1394729017631285252 Sounds like this new book has got quite a bit of controversy, but I haven’t read it.


  1. JavaScript for R https://book.javascript-for-r.com Seems to be an interesting book on the only two languages that I understand.
  2. https://atrebas.github.io/post/2020-06-17-datatable-introduction/ https://martinctc.github.io/blog/comparing-common-operations-in-dplyr-and-data.table/


  1. https://yufree.cn/cn/2018/03/24/blogdown-rss/


  1. 通读 https://yihanxu.github.io/archive/
  2. 一堆未读推特消息,从 2020/07/01 开始:https://t.yihui.org
  3. 这位大人对 knitr 钻研似乎颇深,是个人才,也许可以拉来做点什么事:https://stackoverflow.com/users/2706569/cl
  4. 家教有关的阅读
  5. https://josebrowne.com/on-coding-ego-and-attention/
  6. https://fortelabs.co/blog/how-to-take-smart-notes
  7. https://www.samuelthomasdavies.com/book-summaries/business/deep-work/
  8. https://highexistence.com/5-reasons-modern-life-depression/
  9. 黑客与画家 http://idlewords.com/2005/04/dabblers_and_blowhards.htm
  10. 教养的迷思 https://mp.weixin.qq.com/s/4XmMuUV2XbM-UMD4GJGUMQ
  11. 家庭、私有制和国家的起源 https://en.wikipedia.org/wiki/The_Origin_of_the_Family,_Private_Property_and_the_State
  12. Note-taking/todo app https://d.cosx.org/d/419756/10 https://noteplan.co https://everydaycheck.com https://twitter.com/OilGains/status/1085929376741556230
  13. Stoicism: https://dailystoic.com/letters-from-a-stoic/ https://www.lettersfromastoic.net/letter-4/
  14. ggplot 灰色背景:https://stats.stackexchange.com/q/25220/10946 https://twitter.com/WilliamsNeuro/status/1318419069968658432
  15. 为 XD 和邻居架设网站
  16. IntersectionObserver 而不是 scroll 事件检测评论区是否滚到了当前视图下: https://blog.skk.moe/post/prevent-disqus-from-slowing-your-site/
  17. 洛宁蒸肉:五花肉、粉丝、玉米面、葱姜蒜、酱油、蚝油、盐。


  1. JS 生成声音:https://github.com/R4meau/plink-plonk/blob/master/content.js 暂时不知道用它干啥,但感觉要是跟 Shiny 鬼混在一起也许能玩出什么花样来。
  2. https://two.js.org
  3. https://github.com/seankross/postcards
  4. https://github.com/etiennebacher/docsifier
  5. https://twitter.com/Warreningshot/status/1379664918450905089 blogdown 复古主题?


时间 事项
周一 朝九晚五;下午核查团队工作进度
周二 朝九晚五
周三 朝九晚五
周四 朝九晚五
周五 下午非紧急邮件、COS + SO 论坛、Disqus 后台;微博;推特
周日 晚上看 Feedly

另外,每天下班前一小时:查阅 Github 事项、安排第二天工作。晚 11 点后回复微信。