To install package from local source file:
install.packages(path_to_source, repos = NULL, type="source")
install.packages("~/Downloads/dplyr-master.zip", repos=NULL, type="source")
Here, path_to_source is absolute path of local source file.
Another command that ...