SameStrain R package