Added R file to generate main package docs