尝试从终端 R Mac 安装 qqman 包时出错

问题描述

当我跑步时:install.packages('qqman') 它说我

--- Please select a CRAN mirror for use in this session ---
Secure CRAN mirrors

 1: 0-Cloud [https]

为简单起见,我只选择了第一个(我也尝试过在我的国家/地区使用的)。之后,它返回给我以下错误

* installing *source* package ‘MASS’ ...

    ** package ‘MASS’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    Error in if (nzchar(SHLIB_LIBADD)) SHLIB_LIBADD else character() :
      l'argomento ha lunghezza zero
    * removing ‘/Users/guglielmo/opt/anaconda3/lib/R/library/MASS’
    ERROR: dependency ‘MASS’ is not available for package ‘calibrate’
    * removing ‘/Users/guglielmo/opt/anaconda3/lib/R/library/calibrate’
    ERROR: dependency ‘calibrate’ is not available for package ‘qqman’
    * removing ‘/Users/guglielmo/opt/anaconda3/lib/R/library/qqman’
    
    The downloaded source packages are in
        ‘/private/var/folders/x1/5c_46p351wjd2h0jssbmh5_c0000gn/T/RtmpPvwdQ2/downloaded_packages’
    Updating HTML index of packages in '.Library'
    Making 'packages.html' ... done
    Warning messages:
    1: In install.packages("qqman") :
      installation of package ‘MASS’ had non-zero exit status
    2: In install.packages("qqman") :
      installation of package ‘calibrate’ had non-zero exit status
    3: In install.packages("qqman") :
      installation of package ‘qqman’ had non-zero exit status

我该如何解决问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)