Detect R source code with lowercase extension .r

Issue #12922 open
Dmitry Ischenko
created an issue

Is it possible to detect R source files with .r extension correctly?