* using log directory 'd:/Rcompile/CRANpkg/local/3.5/InterSIM.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'InterSIM/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'InterSIM' version '2.2.0' * 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 'InterSIM' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.5/InterSIM.Rcheck/00install.out' for details. * DONE The installation logfile: ERROR: failed to lock directory 'd:/Rcompile/CRANpkg/lib/3.5' for modifying Try removing 'd:/Rcompile/CRANpkg/lib/3.5/00LOCK-InterSIM' In R CMD INSTALL