Error loading package since update of R and Rstudio (lazy loading failed)

January 27, 2020 @Maxence Maxence Valentin

@Maxence wrote:

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’

Posts: 1

Participants: 1

Read full topic

Previous Article
RStudio Package Manager problem with loading website
RStudio Package Manager problem with loading website

@michalslovik wrote: (topic withdrawn by author, will be automatically deleted i...

Next Article
Ubuntu: Build packages from source
Ubuntu: Build packages from source

@crossxwill wrote: I have a comment related to this post: Is it normal...