Strip R extension.

strip_r_extension(filename)

Arguments

filename

character. The filename to strip.

Value

the filename without the '.r' or '.R' at the end.