Personally I prefer remotes::install_local(path = path_to_the_local_pacakge), where path_to_the_local_package is the location of the package. The reason I like it is because it also installs all dependencies listed in the DESCRIPTION in that package.