psteinb / covid19-curve-your-city

Extrapolation der COVID19 Fallzahlen
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Installation instructions fail on OS X #12

Closed gerbsen closed 4 years ago

gerbsen commented 4 years ago

Under OS X

install.packages(c("ggplot2","dplyr","readr","optparse", "cowplot", "nls2"))

fails, due to missing X11.

Warnmeldung:
In doTryCatch(return(expr), name, parentenv, handler) :
  kann shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so' nicht laden:
  dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/modules/R_X11.so
  Reason: image not found
gerbsen commented 4 years ago

Installing X11 solves the issue: https://www.xquartz.org/