Seems like less output than expected from package installation
I would expect a lot more output than what's being shown on successful or unsuccessful installation. Downloading and unpacking doesn't indicate that the package was installed successfully. It only indicates that the package was retrieved successfully.
The tail end of a dplyr install for me reports:
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (dplyr)
Try installing Rtools
Running on windows, you may need to install Rtools in order to build some packages from source.
I have fixed the issue! I just recently udated R and Rstudio, and for some reason they both did not have administrator privileges on my computer. Next, I used the code below to switch the installation file path.
myPaths <- .libPaths() #> get the paths
myPaths <- c(myPaths[2], myPaths[1]) #> switch them
.libPaths(myPaths) # reassign them
I still don't understand why when I install a pachage it downloads the zip files to this file location:
C:\Users\sibac\AppData\Local\Temp\RtmpuE5xVt\downloaded_packages
and unziped files to my defalut file location: C:\Program Files\R\R-3.6.1\library
Packages when being installed are put in a temp location where all the building/checking/verification is done. When that succeeds, the package files are copied over to the library location. If the package install fails, the temp directory and contents are deleted.
It means the only packages that appear in the library were successfully installed.
You can specify a location to keep the R packages you install and use in a user directory, so you won't need admin privileges. I do this and a few other things I just like having all the time in my .Rprofile file. Here's a brief write up about using .Rprofile if you're curious.