title: Tried to install dev version of r package, corrupted a database?
body: <p>I was trying to use geom_sf, so I needed to install the dev version of ggplot2. I attempted to do so using the instructions <a href="https://github.com/tidyverse/ggplot2" rel="nofollow noreferrer">here</a> which had me use:</p>
  
  <pre><code>devtools::install_github("tidyverse/ggplot2")
  </code></pre>
  
  <p>But something went wrong! geom_sf still didn't show up, and now I can't load or unload the active or dev versions of tidyverse or ggplot2. I keep getting the following info about the database being corrupt. </p>
  
  <pre><code>Error: package or namespace load failed for ‘ggplot2’ in get(Info[i, 1], envir = env):
   lazy-load database '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/ggplot2/R/ggplot2.rdb' is corrupt
  In addition: Warning message:
  In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
  </code></pre>
  
  <p>What to do? I'd like my tidyverse back, but ultimately I still want to install the dev version of ggplot2 so that I can use geom_sf. </p>