if Sys.getenv("R_ZIPCMD") and Sys.getenv("zip") are both empty, R cannot create zip files. It will do so without warning at the moment.
Solutions:
1) Suggest R package "zip", with requireNamespace, with warning if nothing is available (preferred)
2) ```
installr::install.rtools()
# To ensure you will get the zip file out, we can manually specify the path to...
# The zip tool in your C drive like mine below:
Sys.setenv(R_ZIPCMD= "C:/Rtools/bin/zip")
# Check it again
Sys.getenv("R_ZIPCMD")
Sys.getenv("zip")
if Sys.getenv("R_ZIPCMD") and Sys.getenv("zip") are both empty, R cannot create zip files. It will do so without warning at the moment.
Solutions: 1) Suggest R package "zip", with requireNamespace, with warning if nothing is available (preferred) 2) ``` installr::install.rtools()