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安装成功

相关推荐
xieliyu.26 分钟前
Java算法精讲:双指针(三)
java·开发语言·算法
CryptoPP1 小时前
快速对接东京证券交易所API数据:实战指南与代码示例
开发语言·人工智能·windows·python·信息可视化·区块链
ZC跨境爬虫2 小时前
跟着 MDN 学JavaScript day_7:数学运算与逻辑判断实战测试
开发语言·前端·javascript·学习·ecmascript
阳区欠3 小时前
【LangChain】LLM基础介绍
开发语言·python·langchain
Jinkxs3 小时前
Java 跨域14-Java 与区块链(Hyperledger)集成
java·开发语言·区块链
晨曦中的暮雨4 小时前
Golang速通(Javaer版)
java·开发语言·后端·golang
小小编程路4 小时前
Python 还有容器类型互转、进制转换、字符编码转换
开发语言·windows·python
qeen874 小时前
【C++】类与对象之类的默认成员函数(二)
android·c语言·开发语言·c++·笔记·学习
CRMEB系统商城4 小时前
CRMEB多商户系统(Java)v2.3公测版发布
java·开发语言·人工智能·小程序·开源·php
动能小子ohhh5 小时前
DocForge平台的设计与开发--文件上传接口的实现
开发语言·人工智能·python·langchain·ocr·fastapi