R语言:如何安装包“linkET”

自己在R语言中安装包"linkET"时报错不存在叫'linket'这个名字的程辑包

尝试了install.packages("linkET")和BiocManager::install("linkET")两种安装办法都不行

R 复制代码
 >install.packages("linkET")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
将程序包安装入'C:/Users/86150/AppData/Local/R/win-library/4.3'
(因为'lib'没有被指定)
Warning in install.packages :
  package 'linkET' is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
> BiocManager::install("linkET")
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details.
Replacement repositories:
    CRAN: https://cran.rstudio.com/
Bioconductor version 3.18 (BiocManager 1.30.23), R 4.3.2 (2023-10-31 ucrt)
Installing package(s) 'linkET'
Installation paths not writeable, unable to update packages

解决办法:利用 devtools::install_github()的安装方式进行安装

R 复制代码
##安装usethis
install.packages("usethis")
##加载usethis

library(usethis)
##安装devtools

install.packages("devtools")
##加载devtools

library(devtools)
##安装LinkET

devtools::install_github("Hy4m/linkET", force = TRUE)

显示 linKET安装成功

相关推荐
没有bug.的程序员16 小时前
Java 序列化:Serializable vs. Protobuf 的性能与兼容性深度对比
java·开发语言·后端·反射·序列化·serializable·protobuf
Clarence Liu17 小时前
AI Agent开发(2) - 深入解析 A2A 协议与 Go 实战指南
开发语言·人工智能·golang
业精于勤_荒于稀17 小时前
异常梳理aaaa
开发语言·qt
黎雁·泠崖17 小时前
Java面向对象:对象内存图+成员与局部变量
java·开发语言
sunfove17 小时前
实战篇:用 Python 徒手实现模拟退火算法解决 TSP 问题
开发语言·python·模拟退火算法
jiunian_cn17 小时前
【C++】IO流
开发语言·c++
froginwe1118 小时前
C 语言输入与输出详解
开发语言
_童年的回忆_18 小时前
【PHP】关于守护进程报错:SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
开发语言·oracle·php
少林码僧18 小时前
2.30 传统行业预测神器:为什么GBDT系列算法在企业中最受欢迎
开发语言·人工智能·算法·机器学习·ai·数据分析