install.packages("devtools")
library(devtools) install_github("miclaraia/glmGamPoi")
library(devtools) install_git("https://github.com/miclaraia/glmGamPoi.git")
library(devtools) install_local("path/to/glmGamPoi")
其中,“path/to/glmGamPoi”需要替换为已经下载源代码所在的文件路径。