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