Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2020a.1.0/zoneinfo/America/Denver'
ERROR: dependency ‘tibble’ is not available for package ‘ggplot2’
removing ‘/Users/keca6141/Library/R/3.4/library/ggplot2’
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
When installing packages I am getting the above error. I am unsure what is causing the issue.
I have tried deleting all R studio library files and uninstalling and reinstalling R studio on my Mac and nothing so far has worked.
You will probably get more errors like this one later. As @andresrcs says it should be fixed by installing the dependencies but you can also install the whole suite of packages for data manipulation to get rid of this kind of errors in the future.
install.packages("tidyverse")
library(tidyverse)
Remember that you need to library tidy verse every time you open RStudio
If you need to install packages from source, then you need to install Xcode in your system (not in R) and the recommended development tools for macOS systems. https://cran.r-project.org/bin/macosx/tools/