I am trying to install.package ("tigris") on a MAC and though I seem to get it, there appears to be a problem with lazy load-- I have similar problems when trying install tidyverse, and reprex--- I have tried to update all packages. Suggestions appreciated. Thanks
"Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018i.1.0/zoneinfo/America/New_York'
installing source package ‘tigris’ ...
** package ‘tigris’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘bindrcpp’
ERROR: lazy loading failed for package ‘tigris’
removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/tigris’
Warning in install.packages :
installation of package ‘tigris’ had non-zero exit status
Thanx, I used old.packages() to check what I had, and there was bindrcpp. So I tried to update.packages("bindrcpp") but to no avail. It looks like many of my packages need updating but I always seem to run into the same problem, Any suggestions would be welcomed-- Should I un-install R Studio and just start over, I am running with MAC Os, Thanks again,
restoring previous ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp’
Warning in install.packages :
installation of package ‘Rcpp’ had non-zero exit status
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018i.1.0/zoneinfo/America/New_York'
restoring previous ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/bindrcpp’
Warning in install.packages :
installation of package ‘bindrcpp’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/n9/v_01bfk905s6hp0nqkb7td6r0000gn/T/Rtmp5SSgsa/downloaded_packages’
Thanks--I installed Xcode, and was able to install and update some packages, e.g, "tidyverse" which had similar problems noted above, However, when I tried to install.packages("tigris"). Thanks again for the other help,
** package ‘tigris’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘units’
ERROR: lazy loading failed for package ‘tigris’
removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/tigris’
Warning in install.packages :
installation of package ‘tigris’ had non-zero exit status
install.packages("tigris" , dependencies=TRUE)
There is a binary version available but the source version is later:
binary source needs_compilation
tigris 0.6.2 0.7 FALSE
installing the source package ‘tigris’
trying URL 'https://cran.rstudio.com/src/contrib/tigris_0.7.tar.gz'
Content type 'application/x-gzip' length 72980 bytes (71 KB)
downloaded 71 KB
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018i.1.0/zoneinfo/America/New_York'
installing source package ‘tigris’ ...
** package ‘tigris’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘units’
ERROR: lazy loading failed for package ‘tigris’
removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/tigris’
Warning in install.packages :
installation of package ‘tigris’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/n9/v_01bfk905s6hp0nqkb7td6r0000gn/T/RtmpOlRm6l/downloaded_packages’
Tried install.packages("units"), and almost worked---looks like something to do with my configuration. To be honest, I am bit at a loss (more than usual), and not quite sure what they mean by installing the missing udunits2, Thanks again,
checking udunits2.h usability... no
checking udunits2.h presence... no
checking for udunits2.h... no
checking udunits2/udunits2.h usability... no
checking udunits2/udunits2.h presence... no
checking for udunits2/udunits2.h... no
checking for ut_read_xml in -ludunits2... no
configure: error: in `/private/var/folders/n9/v_01bfk905s6hp0nqkb7td6r0000gn/T/RtmpRhUG9R/R.INSTALL101973886cdc4/units':
configure: error:
Configuration failed because libudunits2.so was not found. Try installing:
* deb: libudunits2-dev (Debian, Ubuntu, ...)
* rpm: udunits2-devel (Fedora, EPEL, ...)
* brew: udunits (OSX)
If udunits2 is already installed in a non-standard location, use:
--configure-args='--with-udunits2-lib=/usr/local/lib'
if the library was not found, and/or:
--configure-args='--with-udunits2-include=/usr/include/udunits2'
if the header was not found, replacing paths with appropriate values.
You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
See `config.log' for more details
ERROR: configuration failed for package ‘units’
removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/units’
Warning in install.packages :
installation of package ‘units’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/n9/v_01bfk905s6hp0nqkb7td6r0000gn/T/RtmpScrevC/downloaded_packages’