I am unable to download and install multiple packages since I have updated both R and Rstudio and my computers. These packages include broom, timeSeries, rmarkdown for instance. I tried multiple things including uninstalling everything, deleting all packages on computer, use Rtools ... but still having the same issued. Here is the following error that is displayed
install.packages("broom")
Installing package into ‘\\smeal.psu.edu/data/Grads/mav24/My Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
broom 0.5.3 0.5.4 FALSE
installing the source package ‘broom’
trying URL 'https://cran.rstudio.com/src/contrib/broom_0.5.4.tar.gz'
Content type 'application/x-gzip' length 1228129 bytes (1.2 MB)
downloaded 1.2 MB
* installing *source* package 'broom' ...
** package 'broom' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
Warning in file.create(to[okay]) :
cannot create file '\smeal.psu.edu/data/Grads/mav24/My Documents/R/win-library/3.6/00LOCK-broom/00new/broom/doc/adding-tidiers.R', reason 'No such file or directory'
[...] [...] [...] [...] [...] [...] [...]
Calls: <Anonymous> -> findpack
Execution halted
ERROR: lazy loading failed for package 'broom'
* removing '\\smeal.psu.edu/data/Grads/mav24/My Documents/R/win-library/3.6/broom'
Warning in install.packages :
installation of package ‘broom’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\mav24\AppData\Local\Temp\RtmpYZlb0Q\downloaded_packages’