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
Here is the actual log: trying with cask · bcgov/bcdata@e682a59 · GitHub
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!