Hi. I've locally (and via a few colleagues' computers, I think all macOS thus far) tested a package that requires reticulate and 2 python libraries and I was hoping to get those tests included on github in preparation to submit to CRAN. I'm getting different errors for different operating systems, but if there could be a general yaml for github workflows using reticulate that would be great. I also tried travis-ci but the examples for that seemed worse.
https://github.com/griff-rees/py2Rgraphs/actions/runs/693339267
A general summary of the issues: on linux there's no local python install, for macOS there's a permission error, and on Windows there's no installed python (and it seems to target python 2.7 rather than the minimum 3.6 as I specify in the DESCRIPTION). Any advice appreciated. Also: there are warnings on my attempt to use a 3 clause BSD licence but I think that's separate.
Linux error
Error: Error: package or namespace load failed for ‘py2Rgraphs’:
.onLoad failed in loadNamespace() for 'py2Rgraphs', details:
call: NULL
error: could not find a Python environment for /usr/bin/python3
macOS error
NotWritableError: The current user does not have write permissions to a required path.
path: /usr/local/miniconda/pkgs/cache/b89cf7bf.json
uid: 501
gid: 20
Windows error (seems to default to python 2.7 while this package requires python >=3.7)
Error: Error: package or namespace load failed for 'py2Rgraphs':
.onLoad failed in loadNamespace() for 'py2Rgraphs', details:
call: NULL
error: could not find a Python environment for C:/hostedtoolcache/windows/Python/2.7.18/x86/python.exe
Thanks very much!