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

相关推荐
全干engineer21 小时前
Web3-Web3.js核心操作:Metamask、合约调用、事件订阅全指南
开发语言·javascript·web3·区块链·智能合约
刘一说1 天前
资深Java工程师的面试题目(六)数据存储
java·开发语言·数据库·面试·性能优化
江沉晚呤时1 天前
EventSourcing.NetCore:基于事件溯源模式的 .NET Core 库
java·开发语言·数据库
火鸟21 天前
Rust 通用代码生成器:莲花,红莲尝鲜版三十六,哑数据模式图片初始化功能介绍
开发语言·后端·rust·通用代码生成器·莲花·红莲·图片初始化功能
啾啾Fun1 天前
Python类型处理与推导式
开发语言·windows·python
Watermelo6171 天前
内存泄漏到底是个什么东西?如何避免内存泄漏
开发语言·前端·javascript·数据结构·缓存·性能优化·闭包
粟悟饭&龟波功2 天前
Java—— ArrayList 和 LinkedList 详解
java·开发语言
冷雨夜中漫步2 天前
Java中如何使用lambda表达式分类groupby
java·开发语言·windows·llama
a4576368762 天前
Objective-c Block 面试题
开发语言·macos·objective-c
Cai junhao2 天前
【Qt】Qt控件
开发语言·c++·笔记·qt