I am trying to install the tidycensus package. I get an error. When I run:
install.packages("tidycensus") install.packages("tidycensus", dependencies = TRUE)
Installing package into ‘C:/USER/Documents/R/win-library/3.6’ (as ‘lib’ is unspecified) also installing the dependency ‘tigris’ There are binary versions available but the source versions are later: binary source needs_compilation tigris 1.0 1.5 FALSE tidycensus 0.11.4 1.1 FALSE installing the source packages ‘tigris’, ‘tidycensus’ trying URL 'https://cran.rstudio.com/src/contrib/tigris_1.5.tar.gz' Content type 'application/x-gzip' length 266668 bytes (260 KB) downloaded 260 KB trying URL 'https://cran.rstudio.com/src/contrib/tidycensus_1.1.tar.gz' Content type 'application/x-gzip' length 2117301 bytes (2.0 MB) downloaded 2.0 MB * installing *source* package 'tigris' ... ** package 'tigris' successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading Error in normalizePath(path.expand(path), winslash, mustWork) : path="C:/USER/Documents/R/win-library/3.6/sp/libs/x64": The tag present in the reparse point buffer is invalid Calls: <Anonymous> ... loadNamespace -> library.dynam -> file.path -> normalizePath Execution halted ERROR: lazy loading failed for package 'tigris' * removing 'C:/USER/Documents/R/win-library/3.6/tigris' Warning in install.packages : installation of package ‘tigris’ had non-zero exit status ERROR: dependency 'tigris' is not available for package 'tidycensus' * removing 'C:/USER/Documents/R/win-library/3.6/tidycensus' Warning in install.packages : installation of package ‘tidycensus’ had non-zero exit status The downloaded source packages are in ‘C:\USER\AppData\Local\Temp\downloaded_packages’
Any help would be appreciated. Thank you!