Confession: It's Me Who Committed the Change to Suppress .Rd Diffs On GitHub

October 21, 2017

You may notice that diffs of .Rd files are suppressed by default on GitHub since some time. Do you wonder who did this? It’s me, yay! This is my pull request: Ignore roxygen2 generated files by yutannihilation · Pull Request #3373 · github/linguist Though I thought I’ve done the right thing at that time, now I’m afraid this change may be bad for some cases… After the relese of roxygen2 6. ... Read more

Use CircleCI for R Projects

October 18, 2017

Why CircleCI? Yes, I know using Travis CI is this easy, thanks to devtools package: devtools::use_travis() Travis CI is OK most of the time. Still, CircleCI has some advantages: arbitrary Docker images cool test summaries Arbitrary Docker images Compared to Travis CI, CircleCI allows the users to use any docker images. For example, my WIP package which provides DBI-compatible interface to Redash uses these images: docker: - image: rocker/tidyverse:latest - image: redis:3. ... Read more

Introduction to gghighlight: Highlight ggplot's Lines and Points with Predicates

October 6, 2017

(Update: The functions introduced here is deprecated now. Please use gghighlight(), which is far nicer one) Suppose we have a data that has too many series like this: set.seed(2) d <- purrr::map_dfr( letters, ~ data.frame(idx = 1:400, value = cumsum(runif(400, -1, 1)), type = ., stringsAsFactors = FALSE)) For such data, it is almost impossible to identify a series by its colour as their differences are so subtle. ... Read more


July 15, 2017

Hi! I’m Hiroaki Yutani. This blog is where I struggle to learn about R (and improve my poor English). I belong to Hoxo-m Inc., a group of R-enthusiasts in Japan. My interests are mainly focused on data visualization, data manipulation and web APIs. I maintain several R packages: datadogr: R Client for Datadog API kntnr: R Client for kintone API qiitr: R Interface to Qiita API estatapi: R Interface to e-Stat API, the one-stop service for official statistics of the Japanese government kokudosuuchi: R Interface to Kokudo Suuchi API, the GIS data service of the Japanese government