* using log directory 'd:/Rcompile/CRANpkg/local/4.5/xfun.Rcheck' * using R Under development (unstable) (2024-04-30 r86503 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 'xfun/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'xfun' version '0.43' * 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 'xfun' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/xfun.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'xfun' ... ** package 'xfun' successfully unpacked and MD5 sums checked ERROR: cannot remove earlier installation, is it in use? * removing 'd:/Rcompile/CRANpkg/lib/4.5/xfun' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/xfun' Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) : problem copying d:\Rcompile\CRANpkg\lib\4.5\00LOCK-xfun\xfun\libs\x64\xfun.dll to d:\Rcompile\CRANpkg\lib\4.5\xfun\libs\x64\xfun.dll: Permission denied