I'm experiencing issues when trying to update the VTrack package. The underlying issue seems to be the 'spdep' package.
devtools::install_github("rossdwyer/VTrack")
Downloading GitHub repo rossdwyer/VTrack@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: spdep (1.2-2 -> 1.2-3) [CRAN]
Enter one or more numbers, or an empty line to skip updates:
Error: Failed to install 'VTrack' from GitHub:
lazy-load database '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/withr/R/withr.rdb' is corrupt
In addition: Warning messages:
1: In pkgbuild::build(pkgdir, dest_path = dest_path, binary = FALSE, :
restarting interrupted promise evaluation
2: In pkgbuild::build(pkgdir, dest_path = dest_path, binary = FALSE, :
internal error -3 in R_decompress1
Note that it doesn't wait for me to choose an option, either 1-4.
When i run 'Install.packages("spdep") and select 'Yes', following error emerges:
install.packages("spdep")
There is a binary version available but the source version is later:
binary source needs_compilation
spdep 1.2-2 1.2-3 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes
installing the source package ‘spdep’
restoring previous ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/spdep’
Warning in install.packages :
installation of package ‘spdep’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/cb/gj9pv0x5429dvzrnbqk9rlw40000gn/T/Rtmp0tSh5p/downloaded_packages’
Any advice how to solve this is greatly appreciated.
I'm experiencing issues when trying to update the VTrack package. The underlying issue seems to be the 'spdep' package.
1: All
2: CRAN packages only
3: None
4: spdep (1.2-2 -> 1.2-3) [CRAN]
Enter one or more numbers, or an empty line to skip updates: Error: Failed to install 'VTrack' from GitHub: lazy-load database '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/withr/R/withr.rdb' is corrupt In addition: Warning messages: 1: In pkgbuild::build(pkgdir, dest_path = dest_path, binary = FALSE, : restarting interrupted promise evaluation 2: In pkgbuild::build(pkgdir, dest_path = dest_path, binary = FALSE, : internal error -3 in R_decompress1
Note that it doesn't wait for me to choose an option, either 1-4.
When i run 'Install.packages("spdep") and select 'Yes', following error emerges:
There is a binary version available but the source version is later: binary source needs_compilation spdep 1.2-2 1.2-3 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes installing the source package ‘spdep’
trying URL 'https://cran.rstudio.com/src/contrib/spdep_1.2-3.tar.gz' Content type 'application/x-gzip' length 4047140 bytes (3.9 MB)
downloaded 3.9 MB
The downloaded source packages are in ‘/private/var/folders/cb/gj9pv0x5429dvzrnbqk9rlw40000gn/T/Rtmp0tSh5p/downloaded_packages’
Any advice how to solve this is greatly appreciated.
Thanks, Maurits