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