While installing packages, the packages are getting installed in AppData\Local\Temp\ location instead of library of R 3.3.0 and could not be loaded.
Example:
> install.packages("devtools")
There are binary versions available but the source versions are later:
binary source needs_compilation
processx 2.0.0.1 3.3.1 TRUE
callr 2.0.3 3.2.0 TRUE
git2r 0.21.0 0.25.2 TRUE
rcmdcheck 1.2.1 1.3.3 FALSE
usethis 1.3.0 1.5.0 FALSE
devtools 1.13.5 2.0.2 FALSE
* installing *source* package 'pkgbuild' ...
** package 'pkgbuild' successfully unpacked and MD5 sums checked
** R
** preparing package for lazy loading
Error : .onLoad failed in loadNamespace() for 'callr', details:
call: loadNamespace(name)
error: there is no package called 'debugme'
ERROR: lazy loading failed for package 'pkgbuild'
* removing 'C:/Users/Arup Baksi/Documents/R/win-library/3.3/pkgbuild'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\Arup Baksi\Documents\R\win-library\3.3" C:\Users\ARUPBA~1\AppData\Local\Temp\RtmpQXG3Dm/downloaded_packages/pkgbuild_1.0.3.tar.gz' had status 1
Warning in install.packages :
installation of package ‘pkgbuild’ had non-zero exit status
* installing *source* package 'usethis' ...
** package 'usethis' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error : object 'glue_collapse' is not exported by 'namespace:glue'
ERROR: lazy loading failed for package 'usethis'
* removing 'C:/Users/Arup Baksi/Documents/R/win-library/3.3/usethis'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\Arup Baksi\Documents\R\win-library\3.3" C:\Users\ARUPBA~1\AppData\Local\Temp\RtmpQXG3Dm/downloaded_packages/usethis_1.5.0.tar.gz' had status 1
Warning in install.packages :
installation of package ‘usethis’ had non-zero exit status
ERROR: dependency 'pkgbuild' is not available for package 'rcmdcheck'
* removing 'C:/Users/Arup Baksi/Documents/R/win-library/3.3/rcmdcheck'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\Arup Baksi\Documents\R\win-library\3.3" C:\Users\ARUPBA~1\AppData\Local\Temp\RtmpQXG3Dm/downloaded_packages/rcmdcheck_1.3.3.tar.gz' had status 1
Warning in install.packages :
installation of package ‘rcmdcheck’ had non-zero exit status
ERROR: dependencies 'pkgbuild', 'pkgload', 'rcmdcheck', 'usethis' are not available for package 'devtools'
* removing 'C:/Users/Arup Baksi/Documents/R/win-library/3.3/devtools'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\Arup Baksi\Documents\R\win-library\3.3" C:\Users\ARUPBA~1\AppData\Local\Temp\RtmpQXG3Dm/downloaded_packages/devtools_2.0.2.tar.gz' had status 1
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Arup Baksi\AppData\Local\Temp\RtmpQXG3Dm\downloaded_packages’