add tests for success of R package installation to make process