* installing *source* package 'cli' ...
** package 'cli' successfully unpacked and MD5 sums checked
ERROR: cannot remove earlier installation, is it in use?
* removing 'd:/Rcompile/CRANpkg/lib/4.5/cli'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/cli'
Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) :
  problem copying d:\Rcompile\CRANpkg\lib\4.5\00LOCK-cli\cli\libs\x64\cli.dll to d:\Rcompile\CRANpkg\lib\4.5\cli\libs\x64\cli.dll: Permission denied