r-package: fix