R deldir installation error: lzma decoder corrupt data

2.7k Views Asked by At

I have been attempting to install the R (4.1.0) package 'deldir' on a macos platform, i.e.

https://cran.r-project.org/web/packages/deldir/index.html

following

install.packages('deldir')

I get the following warning(s) - like the one below, but iterated dozens of times:

18 | 23001 continue
      |     1
Warning: Label 23001 at (1) defined but not used [-Wunused-label]
gfortran -mmacosx-version-min=10.13 -fno-optimize-sibling-calls  -fPIC  -Wall -g -O2      
-c mnnd.f -o mnnd.o
mnnd.f:16:5:

Followed by the error message:

clang: error: linker command failed with exit code 1 (use -v to  see invocation)
make: *** [deldir.so] Error 1
ERROR: compilation failed for package ‘deldir’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/deldir’

The downloaded source packages are in
‘/private/var/folders/5s/x2m_2x714s90wchtvd2ylhf80000gn/T/RtmpWxpS5.                    /downloaded_packages’
Warning messages:
1: In readRDS(dest) : lzma decoder corrupt data
2: In install.packages("deldir") :
installation of package ‘deldir’ had non-zero exit status

I was able to install several other packages without any issue today, so this is only coming up with the 'deldir' package. What does the

lzma decoder corrupt data

error mean in the context of the readRDS(dest) function, as I think this error is what is driving everything else, and what, if anything, can be done about it?

0

There are 0 best solutions below