Yihui Xie, the creator of knitr, writes in the official knitr chunk option documentation (emphasis by me):
- (...) in theory, the chunk label should be quoted as well, but for the sake of convenience it will be automatically quoted if you did not quote it (e.g. ```{r, 2a} will become ```{r, '2a'})
As I understand this, the results of quoted and unquoted chunk labels should always be the same. Is this really true? Or might there be any (edge) cases where quoting vs. not quoting the chunk labels actually matters?
Especially, I'd like to know if there might be any differences in results if one adheres to the following recommendation also found in the knitr chunk option documentation:
(...) in general it is recommended to use alphabetic characters with words separated by
-and avoid other characters (...)