试图下载“readr”包失败

时间:2017-04-13 21:56:55

标签: r

这是在尝试下载“readr”软件包后代码的样子。我找不到任何帮助排除故障

Warning in install.packages :
  installation of package ‘lazyeval’ had non-zero exit status
Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
  unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
  dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
  Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
  Reason: image not found
* installing *source* package ‘Rcpp’ ...
** package ‘Rcpp’ successfully unpacked and MD5 sums checked
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/Users/JoseM/Library/R/3.3/library/Rcpp’
Warning in install.packages :
  installation of package ‘Rcpp’ had non-zero exit status
Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
  unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
  dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
  Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
  Reason: image not found
ERROR: dependencies ‘lazyeval’, ‘Rcpp’ are not available for package ‘tibble’
* removing ‘/Users/JoseM/Library/R/3.3/library/tibble’
Warning in install.packages :
  installation of package ‘tibble’ had non-zero exit status
Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
  unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
  dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
  Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
  Reason: image not found
ERROR: dependencies ‘Rcpp’, ‘tibble’ are not available for package ‘readr’
* removing ‘/Users/JoseM/Library/R/3.3/library/readr’
Warning in install.packages :
  installation of package ‘readr’ had non-zero exit status

The downloaded source packages are in
    ‘/private/var/folders/j1/_dcr13gs1_b0wn3z_1lvd09w0000gn/T/RtmpWFlOtM/downloaded_packages’
>

0 个答案:

没有答案