Install bmdCpp package by doing R CMD build bmdCpp then R CMD check bmdCpp_1.0.tar.gz and R CMD INSTALL bmdCpp_1.0.tar.gz