Resolve git conflicts in a renv.lock file
Source:R/gitconflict_renv.R
gitconflict_renv_lock_resolve.RdGiven a renv.lock file with git conflicts, this function extracts the base and head versions of the file and creates a new merged file. The merging strategy is as follows:
If a package exists in either the base or the head version, it will be included in the new merged file.
If a package exists in both the base and head versions, the most recent version of the two will be included in the new merged file.