macOS - package installation issues

Thank you yet again!
Passing "mac.binary" to the type worked for loading the packages, but when I run

> library("faraway")

I get

Error: package or namespace load failed for ‘faraway’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/homebrew/lib/R/4.1/site-library/minqa/libs/minqa.so':
  dlopen(/opt/homebrew/lib/R/4.1/site-library/minqa/libs/minqa.so, 0x0006): tried: '/opt/homebrew/lib/R/4.1/site-library/minqa/libs/minqa.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/minqa.so' (no such file)

So for me, it appears like things have been loaded, but that homebrew can't utilise the binary file or something?

It appears to be an issue with how the Monterey OS reads binary files because in the errors it says:

> mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/minqa.so' (no such file)

so I might need to turn the package into 'arm64e' or change the reading of the file to 'x86_64', but on that part, I am completely lost.

Do you understand what is wrong and how to fix it?