i am using R in Docker . But having error in running libraries

  docker, gdal, r, r-package

I am using R in docker . I have install libraries in docker by using docker hub.but failed . Below is the error i am facing

Error: package or namespace load failed for ‘geojsonio’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/local/lib/R/site-library/rgeos/libs/rgeos.so':
  libgeos_c.so.1: cannot open shared object file: No such file or directory

Source: Docker Questions