rhub
rhub copied to clipboard
Test/fix local linux builders on Windows
Needed before #240, right?
I'll check #240 soon.
I tried to test local_check_linux(image = "rhub/debian-gcc-release") on Windows. Here are some errors I ran into, how I solved them and where I am stuck now. (I hope this is the appropriate issue, if not I can move this somewhere else).
-
Error: "You need bash and Docker to run local Linux checks". I have git-bash installed, but it wasn't on the PATH (which is the default, I think). Added
C:\Program Files\Git\binto System PATH. Suggestion: In vignette, let Windows users first manually check whetherSys.which("bash")andSys.which("docker")are not empty and give installation instructions if they are? UPDATE: RStudio seems to find Git Bash without addingC:\Program Files\Git\binto the PATH. Wouldn't this be possible here as well? -
Error: "C:\Program Files\Docker\Docker\Resources\bin\docker.exe: error during connect" Docker daemon was not running. 🤦♂
-
Error: "Error in library(sysreqs) : there is no package called 'sysreqs'". {sysreqs} was not installed. Installed with
devtools::install_github("r-hub/sysreqs"). Suggestion: Add sysreqs to rhub Suggests? -
Error:
>>>>>==================== Installing system requirements
f8db5e625835c1b466d9450285635c351b48cd2db62c0a2f9e1c7b0122dffb47
bash: C:/Program Files/Git/root/sysreqs.sh: No such file or directory
Build container is ebcd2f5c-a868-11e9-8a48-49cad3603d12-2
Error in run(bash, c(file.path(wd, "rhub-linux.sh"), args), echo = TRUE, :
System command error
This is where I am stuck now. There is no C:/Program Files/Git/root/ directory. Does this come from here?
I'm getting the sysreqs error that @dpprdan got with rhub/rocker-gcc-san.
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.