I am building a {distill} site on Github Actions and for some reason my packages are no longer installing during the build process. I am getting this error when it tries to install {dplyr}:
Error: Error: package or namespace load failed for ‘dplyr’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Users/runner/work/_temp/Library/rlang/libs/rlang.so':
dlopen(/Users/runner/work/_temp/Library/rlang/libs/rlang.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib
Referenced from: /Users/runner/work/_temp/Library/rlang/libs/rlang.so
Reason: image not found
Execution halted
Error: Process completed with exit code 1.
This one is a mystery to me. I have searched and found a few suggestions that worked for others, like installing XQuartz, but that did not change the outcome. Any advice is much appreciated!