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