Fix issue with R from outdated package