Add rstudio project
Fixes for R CMD check
Fix license typo
Break long lines