* using log directory 'd:/Rcompile/CRANpkg/local/4.2/projpred.Rcheck' * using R version 4.2.1 (2022-06-23 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: UTF-8 * checking for file 'projpred/DESCRIPTION' ... OK * this is package 'projpred' version '2.1.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'projpred' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.2/projpred.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'projpred' ... ** package 'projpred' successfully unpacked and MD5 sums checked ERROR: cannot remove earlier installation, is it in use? * removing 'd:/Rcompile/CRANpkg/lib/4.2/projpred' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.2/projpred' Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) : problem copying d:\Rcompile\CRANpkg\lib\4.2\00LOCK-projpred\projpred\libs\x64\projpred.dll to d:\Rcompile\CRANpkg\lib\4.2\projpred\libs\x64\projpred.dll: Permission denied