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