title: error when using st_intersects, in CPL_geos_binop(st_geometry(x), st_geometry(y), op, par, pattern : Evaluation error: IllegalArgumentException
body: <p>Wish to do intersect two LINESTRING in R.</p>
  
  <pre><code>nc1 = st_read(shp_file_1)
  nc2 = st_read(shp_file_2)
  </code></pre>
  
  <p>The above steps are successful, shapefiles can be loaded in R.</p>
  
  <pre><code>res= st_intersects(nc1, nc2)
  Error in CPL_geos_binop(st_geometry(x), st_geometry(y), op, par, pattern,  :
    Evaluation error: IllegalArgumentException: point array must contain 0 or &gt;1 elements.
  </code></pre>
  
  <p>So, how to fix it? Thank you.</p>