Merge pull request #37 from johnmyleswhite/tabs-to-spaces

convert tabs to spaces
Merge branch 'master' into testthat-fix