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