Thank you for your reply. But I received an error message when I tried to install "cli".
install.packages("cli")
There is a binary version available but the source version is later:
binary source needs_compilation
cli 3.3.0 3.4.0 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes
installing the source package ‘cli’
downloaded 514 KB
- installing source package ‘cli’ ...
** package ‘cli’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘cli’
- removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/cli’
The downloaded source packages are in
‘/private/var/folders/j3/pg1fk5vs3rn_6949tpl5_fmc0000gn/T/RtmpHcaBGI/downloaded_packages’
Warning message:
In install.packages("cli") :
installation of package ‘cli’ had non-zero exit status
Thank you for helping me out. Thank you.