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

相关推荐
破茧蝴蝶1 小时前
Python分布式爬虫完整教程
开发语言·python
狗凯之家源码网1 小时前
全新 PHP 轻量客服聊天室源码深度评测
开发语言·php·聊天室系统
远离UE42 小时前
UE5 Substrate Thin Film 源码拆析
开发语言·javascript·ue5
keyipatience2 小时前
JavaScript学习(1)书写位置,变量、数据类型、运算符
开发语言·前端·javascript·css·学习
栈帧之外3 小时前
【C++】STL之set
开发语言·c++
catchadmin3 小时前
免费可商用 PHP 管理后台 CatchAdmin V5.4.1 发布,新增 MCP 支持
开发语言·php
jimy15 小时前
c++的 Type Traits (二、更详细版本)
开发语言·c++
狗凯之家源码网5 小时前
纯 PHP+MySQL 应用市场系统源码实测!
开发语言·mysql·php
dishugj5 小时前
系统架构风险点、敏感点和权衡点的概念和区分
java·开发语言
geovindu5 小时前
rust:Memento Pattern(续)
开发语言·后端·设计模式·rust·行为模式·备忘录模