thank you for replying, here's the result after i type yes.
install.packages("vctrs")
There is a binary version available but the source version is later:
binary source needs_compilation
vctrs 0.3.0 0.3.1 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel) yes
installing the source package ‘vctrs’
downloaded 924 KB
- installing source package ‘vctrs’ ...
** package ‘vctrs’ 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 ‘vctrs’
- removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/vctrs’
The downloaded source packages are in
‘/private/var/folders/p4/qlm7ddj56p1_n607064lxvkm0000gn/T/RtmpZNBPYd/downloaded_packages’
Warning message:
In install.packages("vctrs") :
installation of package ‘vctrs’ had non-zero exit status
what should i do next?