I am having an issue installing the spdep package in RStudio, i keep on geeting the following message: Warning in install.packages : installation of package 'spdep' had non-zero exit status
The downloaded source packages are in
'/private/var/folders/9t/bn0yq2055_192scxzp2d767179fm3t/T/Rtmp8k3IJh/downloaded_packages'
removing '/Users/ineema/Library/R/3.3/library/expm'
Warning in install.packages :
installation of package 'expm' had non-zero exit status
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019c.1.0/zoneinfo/Africa/Nairobi'
ERROR: dependencies 'classInt', 'units' are not available for package 'sf'
removing '/Users/ineema/Library/R/3.3/library/sf'
Warning in install.packages :
installation of package 'sf' had non-zero exit status
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019c.1.0/zoneinfo/Africa/Nairobi'
ERROR: dependencies 'sf', 'deldir', 'expm' are not available for package 'spdep'
removing '/Users/ineema/Library/R/3.3/library/spdep'
Warning in install.packages :
installation of package 'spdep' had non-zero exit status
The downloaded source packages are in
'/private/var/folders/9t/bn0yq2055_192scxzp2d767179fm3t/T/Rtmp8k3IJh/downloaded_packages'