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