ZhenyiWangTHU / HemaScopeR

A Specialized Bioinformatics Toolkit Designed for Analyzing both Single-cell and Spatial Transcriptome Sequencing Data from Hematopoietic Cells
GNU General Public License v3.0
12 stars 1 forks source link

GitHub上给的安装代码有问题 #3

Open ZHUyating12 opened 5 days ago

ZHUyating12 commented 5 days ago

install_github(repo="ZhenyiWangTHU/HemaScopeR",subdir = "/HemaScopeR", dep = FALSE) 昨天使用这句命令安装HemaScopeR,但是出现了报错,说找不到HemaScopeR,没办法安装未知的包,随后我发现,问题出现在subdir = "/HemaScopeR",我将这个参数删掉,安装命令修改成:install_github(repo="ZhenyiWangTHU/HemaScopeR", dep = FALSE) 之后报错显示说有两个依赖包没有安装,我手动使用install.package()函数安装了install.packages("kableExtra"),install.packages("transport") 然后使用命令:library(devtools) install_github(repo="ZhenyiWangTHU/HemaScopeR", dep = FALSE) ,就安装好了 安装过程中的依赖包安装不了,报错如下: Warning: replacing previous import ‘biomaRt::select’ by ‘dplyr::select’ when loading ‘HemaScopeR’ Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called ‘kableExtra’ Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted ERROR: lazy loading failed for package ‘HemaScopeR’

ZHUyating12 commented 5 days ago

去掉subdir参数,可以成功安装,建议修改INSTALL.md