remove unnecessary case in R.func
Merge pull request #274 from davidchambers/func

remove unnecessary case in R.func