R version 3.1.3 - note: bugzilla form input stops as 3.1.2
package.name, # "Matrix" -- must invoke compiler step
repos = repos, # "http://cran.rstudio.com"
keep_outputs = destdir, # adds *.out, destdir = "local.package.repo"
destdir = destdir, # keeps *.tar.gz
verbose = TRUE
Run R with setcwd() equals to the PARENT directory of local.package.repo (destdir).
Bug: WHILE package Matrix is being compiled, file Matrix.out is created in the PARENT directory instead of in the destdir directory. Once compilation is complete Matrix.out is moved to destdir where it should be all the time.
Classify this as either a documentation or a code bug. As it stands now, the user doesn't know that install.packages() can override a Matrix.out file in the current directory.