I am using two projects that over time have differed in packages and tools but initially were intended to be the same, or at least have the same version of some core packages.
Is there an easy way to compare the renv.lock file from within R (or renv)?
I tried with diff but the output show also differences in the hash, with renv_lockfile_read I can read the file but the comparison via diffObj doesn't work well to highlight the differences.
There is likely a more elegant approach but this works, as a renv is just a JSON it can be read in, if you are only interested in package and version then this gives you that in a tibble