I am trying to create a package and the package generation will fail:
Warning: running command '"zip" -r9Xq "C:/path/package_name_version.zip"
SEERtools' had status 127 running 'zip' failed
The package was built successfully, but the binary is missing.
Build Log:
> 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"
The error message does not give clues where to look. I tried:
- Configuring read / write files for a folder
- Moved the folder to another folder
The problem is not that Create a zip file: the error execution command "" had status 127 , because 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 does not work.
takje source
share