Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zip not found #484

Closed
sjentsch opened this issue Sep 11, 2021 · 3 comments
Closed

zip not found #484

sjentsch opened this issue Sep 11, 2021 · 3 comments

Comments

@sjentsch
Copy link

When testing my package on r-hub, I get the following error message:

Error in utils::zip(fleNme, "data.bin", flags = "-r9Xq") :
argument 'zip' must be a non-empty character string

zip defaults to Sys.getenv("R_ZIPCMD", "zip")

It appears as if the string returned by Sys.env is empty on the following OSes:
Fedora Linux, R-devel, clang, gfortran
Fedora Linux, R-devel, GCC

@nunotexbsd
Copy link

@sjentsch

I'm with same problem on other R program:

> export(mtcars, "mtcars.tsv.zip")
Error in utils::zip(cfile2, files = basename(filename)) :
  argument 'zip' must be a non-empty character string
> Sys.getenv("R_ZIPCMD", "zip")
[1] ""

Any clues how to fix?
Cheers

@gaborcsardi
Copy link
Collaborator

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants