Hi Kevin,
I ended up with the same situation with different packages (dbplyr and fansi). AFAIK nothing in packrat files was changed manually.
Your solution didn't work for me:
I was unable to install the packages as the same error appeared:
Error in deserializePackages(utils::tail(df, -1)) :
The following dependencies are missing lockfile entries: fansi, dbplyr
Calls: source ... afterPackratModeOn -> lockInfo -> readLockFile -> deserializePackages
Execution halted
Warning in install.packages :
installation of package ‘fansi’ had non-zero exit status