As usual, I started my morning by going through new GitHub issues, and I saw a nicely written issue in the xaringan repo. It was a great issue because there was a minimal reproducible example in it. However, I thought the issue should be easy to understand because I had documented the css
argument on the help page ?xaringan::moon_reader
. So there were two possibilities:
-
My documentation was poor.
-
The user didn’t read the documentation.
It turned out the second possibility was true. What a relief! I’m glad that I didn’t yell “Why don’t you read the documentation?”
That said, as software developers, we should always keep the first possibility in mind. Documentation is hard, and sometimes harder than developing the software itself.