美文网首页
R4安装devtools

R4安装devtools

作者: 牧鸟my | 来源:发表于2021-04-13 14:20 被阅读0次

    /usr/bin/ld: final link failed: Bad value

    collect2: error: ld returned 1 exit status

    make: *** [gert.so] Error 1

    ERROR: compilation failed for package ‘gert’

    * removing ‘/local_data1/GUEST/med_train/software/R-4.0.2/lib64/R/library/gert’

    ERROR: dependency ‘gert’ is not available for package ‘usethis’

    * removing ‘/local_data1/GUEST/med_train/software/R-4.0.2/lib64/R/library/usethis’

    ERROR: dependency ‘usethis’ is not available for package ‘devtools’

    * removing ‘/local_data1/GUEST/med_train/software/R-4.0.2/lib64/R/library/devtools’

    The downloaded source packages are in

            ‘/tmp/RtmpLOOk42/downloaded_packages’

    Updating HTML index of packages in '.Library'

    Making 'packages.html' ... done

    Warning messages:

    1: In install.packages("devtools") :

      installation of package ‘gert’ had non-zero exit status

    2: In install.packages("devtools") :

      installation of package ‘usethis’ had non-zero exit status

    3: In install.packages("devtools") :

      installation of package ‘devtools’ had non-zero exit status

    表示是ld的版本不行,因此从新安装,并设置环境变量即可

    相关文章

      网友评论

          本文标题:R4安装devtools

          本文链接:https://www.haomeiwen.com/subject/ckxclltx.html