Install and Load R package from Github

You may need to install and load an R package that are provided from Github. Follow the instructions below to accomplish this.

Example
Sample package taken from following link https://github.com/jamesfeigenbaum/jjfPkg


install.packages("remotes")
library(remotes)
install.packages("bitops")
library(bitops)
remotes::install_github("jamesfeigenbaum/jjfPkg", lib="U:\\Documents\\RPackages", force=TRUE)
#At this point I will be asked to update packages. I select option 3. To update 'None' of the packages.
library(jjfPkg, lib="U:\\Documents\\RPackages")