zoukankan      html  css  js  c++  java
  • Failed to install 'TwoSampleMR' from GitHub

     R

    Run as Administrator:

    install.packages('devtools')

    install.packages("fansi")

    library('devtools')

    install_github("MRCIEU/ieugwasr")

    
    
    install_github("WSpiller/RadialMR")

    library('devtools')
    install_github("MRCIEU/TwoSampleMR")


    Error: Failed to install 'TwoSampleMR' from GitHub:
      Failed to install 'ieugwasr' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘fansi’

    install_github("MRCIEU/ieugwasr")
    package ‘fansi’ successfully unpacked and MD5 sums checked
    Error: Failed to install 'ieugwasr' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘fansi’

    package ‘fansi’ successfully unpacked and MD5 sums checked
    Warning: cannot remove prior installation of package ‘fansi’
    Warning: restored ‘fansi’

    The downloaded binary packages are in
            C:UsersAdministratorAppDataLocalTempRtmpyYxbxEdownloaded_packages
    Warning message:
    In file.copy(savedcopy, lib, recursive = TRUE) :
      problem copying E:EprogramfilesRR-3.6.3library0LOCKfansilibsx64fansi.dll to E:EprogramfilesRR-3.6.3libraryfansilibsx64fansi.dll: Permission denied
    >

     

    package ‘fansi’ successfully unpacked and MD5 sums checked
    Error: Failed to install 'TwoSampleMR' from GitHub:
      Failed to install 'ieugwasr' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘fansi’
    > library('devtools')
    > install_github("MRCIEU/TwoSampleMR")
    WARNING: Rtools is required to build R packages, but is not currently installed.

    Please download and install Rtools 3.5 from https://cran.r-project.org/bin/windows/Rtools/.
    Error: Failed to install 'TwoSampleMR' from GitHub:
      Timeout was reached: [api.github.com] Resolving timed out after 10000 milliseconds
    >

     * installing *source* package ‘nloptr’ ...
    ** 成功将‘nloptr’程序包解包并MD5和检查
    ** using staged installation
    checking whether the C++ compiler works... no
    configure: error: in `/tmp/RtmprbHEyq/R.INSTALL56bd8c55d00/nloptr':
    configure: error: C++ compiler cannot create executables
    See `config.log' for more details
    ERROR: configuration failed for package ‘nloptr’
    * removing ‘/usr/lib64/R/library/nloptr’

    下载的程序包在
        ‘/tmp/RtmpoQ86CC/downloaded_packages’里
    更新'.Library'里的HTML程序包列表
    Making 'packages.html' ... 做完了。
    Warning message:
    In install.packages("nloptr") : 安装程序包‘nloptr’时退出狀態的值不是0

    package ‘processx’ successfully unpacked and MD5 sums checked
    Error: Failed to install 'RadialMR' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘processx’

    package ‘processx’ successfully unpacked and MD5 sums checked
    Error: Failed to install 'TwoSampleMR' from GitHub:
      Failed to install 'RadialMR' from GitHub:
      (converted from warning) cannot remove prior installation of package ‘processx’
    > remove.packages('processx')
    Removing package from ‘E:/Eprogramfiles/R/R-3.6.3/library’
    (as ‘lib’ is unspecified)
    Error in find.package(pkgs, lib) : there is no package called ‘processx’

  • 相关阅读:
    配置字段(居左,居中,居右,高度自适应)
    将添加的表格框中数据保存到_data中,
    一维数组变二维数组
    时间戳转换
    vue 前端生成二维码
    vue嵌套循环
    vue浏览器标题
    谷歌浏览器中安装JsonView扩展程序
    实现点击页面其他地方,隐藏div(vue)
    VUE模拟select
  • 原文地址:https://www.cnblogs.com/emanlee/p/14475158.html
Copyright © 2011-2022 走看看