Fix all cran check warnings