title: R build package fails on zip
body: <p>I am trying to build a package and the package generation fails with the error:</p>
  
  <pre><code>Warning: running command '"zip" -r9Xq "C:/path/package_name_version.zip" 
  SEERtools' had status 127 running 'zip' failed
  </code></pre>
  
  <p>The package is built successfully, but the binary is missing.</p>
  
  <p>Build log:</p>
  
  <pre><code>&gt; devtools::build(binary = TRUE,path=".")
  "C:/Rpath/R-32~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL  \
    "C:\path" --build 
  
  * installing to library 'C:/Libpath/library'
  * installing *source* package 'package_name' ...
  ** R
  ** data
  ** preparing package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded
  *** arch - i386
  *** arch - x64
  * MD5 sums
  Warning: running command '"zip" -r9Xq "C:/path/package_name_version.zip" package_name' had status 127
  running 'zip' failed
  * DONE (package_name)
  [1] "./package_name_version.zip"
  </code></pre>
  
  <p>The error message doesn't give a clue where to look. I tried:</p>
  
  <ul>
  <li>Setting the read/write files for the folder</li>
  <li>Moved the folder to another folder</li>
  </ul>
  
  <p>The problem is not the same as <a href="https://stackoverflow.com/questions/29129681/create-zip-file-error-running-command-had-status-127">Create zip file: error running command &quot; &quot; had status 127</a> since there the problem lies in the zip procedure. In this case the zip function still behaves as expected (separately), but the specific zip command in the build function fails.</p>