* the archive file produced by R (i386) CMD build command saves the resulting archive file in the present working directory
* ...BUT the archive produced by the R (x64) CMD build command is **not** saved in the present working directory. Instead it is saved in the file path produced by `paste0(Sys.getenv("HOMEDRIVE"), Sys.getenv("HOMEPATH"))` or `Sys.getenv("HOMESHARE")` (the former resolves to H:\ which is an alias for the latter). This path is not represented in any other environment variables returned by Sys.getenv()
This behaviour persists for R-3.5.1 (release) and R-3.4.4. It also persists after I uninstall R and Rtools and then clean reinstall R-3.4.4 and R-3.5.1.
Has anyone else had this issue? Or tips on what might be causing this?
I am running these commands in Powershell using the following commands: