The CI of the PR failed, but while looking at the script I found that I can set the R version explicitly in my travis config, substituting 4.1.0 for release.
I agree 4.0.2 is too old as a release version. The current stable R version is 4.1.2. The release version should be automatically detected and the latest stable version should be installed. I do not know how to make it as a PR. I will try to understand the script.