fix R-checks