By installing the package in R using the following command:
install.packages(\'FILE_PATH\', repos=NULL, type = \"source\")
I got the follow
Try use this:
apt-get install r-base-dev
It will be help. After then I could makeinstall.packages('//package_name')
install.packages('//package_name')