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/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

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.