file_extension expects '.r'
Merge pull request #49 from minrk/dotr

file_extension expects '.r'