Edits to make package checks work in R-devel
Change order of package loading and updates