title: R & figshare: corrupt zip when downloaded in R
body: <p>I'm trying to make my research reproducible storing the data at <a href="https://figshare.com" rel="nofollow">figshare</a>.<br>
  Something strange happens when I download and unzip the data in R.<br>
  <a href="https://dx.doi.org/10.6084/m9.figshare.3085210.v7" rel="nofollow">here is the zip</a><br>
  If I download it manually, it opens ok; but when I try to get it with an <code>R</code> script, the downloaded archive is corrupt. Any ideas where is the problem?</p>
  
  <hr>
  
  <p>the code to reproduce my error</p>
  
  <pre><code>url &lt;- 'https://ndownloader.figshare.com/files/4797355'
  path &lt;- 'test/missing_data_raw.zip'
  
  ifelse(file.exists(path1), yes = 'file alredy exists', no = download.file(url1, path1))
  
  unzip(zipfile = path1,exdir = 'test')
  </code></pre>