Installing on MAC

I've tried for a few hours to install Shiny on my computer but I keep getting this message once it stops downloading:

  • installing source package ‘fastmap’ ...
    ** package ‘fastmap’ 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 ‘fastmap’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/fastmap’
    Warning in install.packages :
    installation of package ‘fastmap’ had non-zero exit status
    ERROR: dependency ‘fastmap’ is not available for package ‘shiny’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/shiny’
    Warning in install.packages :
    installation of package ‘shiny’ had non-zero exit status

For compiling packages from source, you need to install Xcode in your system (not in R) and the recommended development tools for macOS systems.
https://cran.r-project.org/bin/macosx/tools/

1 Like

Im going to need some more space on my hard drive, but that did it. Thanks so much.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.