I try to install the Tidyverse library, for version 4.2.0 of R for MAC and I get the following error:
ERROR: configuration failed for package ‘haven’
removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/haven’
Warning in install.packages :
installation of package ‘haven’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/d6/nsl_fg5j1b1cztyjvbnltczr0000gn/T/Rtmpol15Rq/downloaded_packages’
I would be very grateful if you could help me solve this problem.
Can you please post the complete console output you get when you try to install it? The excerpt you are showing is only telling us that the installation process has failed but it doesn't give us a clue on the cause.