I learned something new today. Apparently the tag wiki pages have default syntax highlighting setting on the bottom and we used the default one for the [r] tag (for Python it is correct).
Now it's fixed.
Alternatively, remember that you can always use
<!-- lang-all: lang-r -->
somewhere in the body of the post to set highlighting for all snippets, ...