title: Cannot open GitHub shapefile in tempdir()
body: <p>I'd like to open a shapefile in <code>*zip</code> format by GitHub download without success in windows 10. In my example:</p>
  <pre><code>library(rgdal)
  
  # get AOI
  download.file(
    &quot;https://github.com/Leprechault/trash/blob/main/stands_example.zip&quot;,
    zip_path &lt;- tempfile(fileext = &quot;.zip&quot;)
  )
  unzip(zip_path, exdir = tempdir())
  
  Warning message:
  In unzip(zip_path, exdir = tempdir()) :
    error 1 extracting from zip file
  
  setwd(tempdir())
  stands_extent &lt;- readOGR(file.path(tempdir(), &quot;stands_target&quot;)) # Border
  Error in ogrListLayers(dsn = dsn) : Cannot open data source
  
  dir()
  [1] &quot;file9e88423c5c2b.zip&quot;                             &quot;rs-graphics-5776e6df-be67-40c4-a4f7-e311eb11d978&quot;
  </code></pre>
  <p>Please, any help with this problem?</p>