Error loading installed package from temporary location

I got the following error when trying to install version 1.3.1 in a mac (MacOS Catalina 10.15.7) and R Studio RStudio 2021.09.0+351 “Ghost Orchid” Release (077589bcad3467ae79f318afe8641a1899a51606, 2021-09-20) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36.

** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, …):
unable to load shared object ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-igraph/00new/igraph/libs/igraph.so’:
dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-igraph/00new/igraph/libs/igraph.so, 6): Library not loaded: @rpath/libicui18n.58.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-igraph/00new/igraph/libs/igraph.so
Reason: image not found
Error: loading failed
Execution halted

Any hints?
Thanks

Easy to solve. I just updated the version of R.