which scrapes its info from the DESCRIPTION file
renv::init();renv::install()
I found that when using only one library for all packages, sometimes dev versions of packages are installed which the DESCRIPTION file did not ask for. These then caused unwanted R CMD check behavior.