Added tests using testthat package
Fixed missing Author and Maintainer fields
Removed whitespace
Added ..Rcheck