Closed li-xuyang28 closed 5 months ago
Search Google for Error in if (nzchar(cxx))
There, you will find that many people have encountered the same issue.
Did you omit any lines from this part of the output?
** libs
Error in if (nzchar(cxx)) { : argument is of length zero
It would be helpful if we can see more information about where this error originates.
After browsing Google results, my understanding is that this issue is independent of the presto package. Instead, the root cause is the R installation and configuration. The presto package should install successfully on Windows, because our GitHub Actions successfully runs on Windows.
If you are using conda to install R, consider uninstalling this version of R. Instead, try to install R from https://www.r-project.org/ and avoid using alternative methods like conda. Or, if you prefer to continue using conda for R, consider cleaning your conda environment with conda clean -a
.
If you find a solution to your problem, please share it here so others may benefit in the future.
I ran into the following issue installing presto on a windows machine:
Here's the session info:
Could you please kindly suggest a way to fix it? Thanks!