creates a folder
.libraryon the project path if it does not existcreates a
.gitignorefile inside.libraryif it does not existadds
.libraryto.libPaths()sets
R_LIBS_USERto.library
creates a folder .library on the project path if it does not exist
creates a .gitignore file inside .library if it does not exist
adds .library to .libPaths()
sets R_LIBS_USER to .library