This package provides the C++ headers and static library of Protocol buffers 2.6.0 for other R packages to compile and link against. Here is the instructions of using it:
devtools::install_github("RGLab/RProtoBufLib")
RProtoBufLib to LinkingTo field so that the user package knows where to find the headersLinkingTo: Rcpp, RProtoBufLib
libprotobuf.a file so that the user package will statically linked to it.PKG_LIBS =`${R_HOME}/bin/Rscript -e "RProtoBufLib::LdFlags()"`