removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/sm’
Warning in install.packages :
installation of package ‘sm’ had non-zero exit status
Description of issue -
I am trying to install the 'sm' package. When I run install.packages('sm'), I get the following in the console:
'Do you want to install from sources the package which needs compilation? (Yes/no/cancel) '
I type yes. However, then I get an error and warning.
R is not being able to find the compiler, if you don't need the latest version you could answer "no" and get the binary version which doesn't need compilation, if you still want the source version, the first thing to try is installing/updating Xcode in your system, you need it for compiling packages on macOS