问题描述
我正在尝试在 Mac 中安装包“RecordLinkage”,但收到此错误消息。 我已经尝试为“您想尝试从源安装这些吗?”键入“否”。它也不起作用。 请问有什么意见/建议吗?
Package which is only available in source form,and may need compilation of C/C++/Fortran:
‘RecordLinkage’
Do you want to attempt to install these from sources? (Yes/no/cancel) yes
installing the source package ‘RecordLinkage’
trying URL 'https://cran.rstudio.com/src/contrib/RecordLinkage_0.4-12.1.tar.gz'
Content type 'application/x-gzip' length 759438 bytes (741 KB)
==================================================
downloaded 741 KB
* installing *source* package ‘RecordLinkage’ ...
** package ‘RecordLinkage’ 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 ‘RecordLinkage’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/RecordLinkage’
Warning in install.packages :
installation of package ‘RecordLinkage’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/sp/jy_rk5ts16sbrlkd2mbpg0m00000gn/T/RtmpDWiWEt/downloaded_packages’
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)