refactoring in progress - install as much as possible from CRAN