processx error on GitHub actions on MacOS

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/':
dlopen(/Users/runner/work/_temp/Library/processx/libs/, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib
Referenced from: /Users/runner/work/_temp/Library/processx/libs/
Reason: image not found
Calls: loadNamespace ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted

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!


Bump the version of your package cache, it is trying to load the R version 4.0 library, but R 4.1 is now installed, since you are installing 'release'.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.