* using log directory 'd:/Rcompile/CRANpkg/local/4.5/msm.Rcheck' * using R Under development (unstable) (2024-05-30 r86651 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'msm/DESCRIPTION' ... OK * this is package 'msm' version '1.7.1' * 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 'msm' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/msm.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'msm' ... ** package 'msm' successfully unpacked and MD5 sums checked ERROR: cannot remove earlier installation, is it in use? * removing 'd:/Rcompile/CRANpkg/lib/4.5/msm' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/msm' Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) : problem copying d:\Rcompile\CRANpkg\lib\4.5\00LOCK-msm\msm\libs\x64\msm.dll to d:\Rcompile\CRANpkg\lib\4.5\msm\libs\x64\msm.dll: Permission denied