Hello there,
I am getting this error trying to run R CMD check on MacOS on GItHub actions:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Users/runner/work/_temp/Library/processx/libs/processx.so':
dlopen(/Users/runner/work/_temp/Library/processx/libs/processx.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib
Referenced from: /Users/runner/work/_temp/Library/processx/libs/processx.so
Reason: image not found
Calls: loadNamespace ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
Here is the actual log: https://github.com/bcgov/bcdata/runs/3059027913?check_suite_focus=true
I am pretty naive here so basically the only thing I've been able to try is installing xquartz. I've also looked at dependencies of processx as maybe there was some binary/source installation order issues (i.e. newly release dependencies) but I haven't found any clear link there.
Any ideas how to deal with this processx issue in GitHub actions?
Thanks in advance!
Sam