r package associated with hkm2014