o2r-project / containerit

Package an R workspace and all dependencies as a Docker container
https://o2r.info/containerit/
GNU General Public License v3.0
289 stars 29 forks source link

Fix stevedore on Appveyor #151

Open nuest opened 4 years ago

nuest commented 4 years ago

Stevedore does not work on appveyor, so the vignettes and some tests do not work:

Rscript -e "stevedore::docker_available(); stevedore::docker_client()$api_version()"
[1] FALSE
Error in py_module_import(module, convert = convert) : 
  ImportError: cannot import name 'NpipeAdapter'
Detailed traceback: 
  File "c:/RLibrary/stevedore/py\httppipe.py", line 9, in <module>
    from docker.transport import NpipeAdapter as HttpAdapter
Calls: <Anonymous> ... httppipe_prepare -> <Anonymous> -> py_module_import
Execution halted
Command exited with code 1
7z a failure.zip *.Rcheck\*

See full build output at https://ci.appveyor.com/project/nuest/containerit/builds/26171500

vsoch commented 4 years ago

In case you want to try something different, CircleCI just announced support for Windows. https://devclass.com/2019/08/08/circleci-finally-open-up-to-windows-devs/

nuest commented 4 years ago

And they also support Docker: https://circleci.com/docs/2.0/building-docker-images/