ChaoXu1997 / RNAseqTool

A Shiny App for Interactive RNAseq Analysis and Visualization
Other
11 stars 1 forks source link

Error in install packages. #1

Open zhipengli128 opened 1 year ago

zhipengli128 commented 1 year ago

Hi, I am trying to install this package. However, the following error happen. Could you help us to fix it? or you can post your email ? Best, Zhipeng Li

ChaoXu1997 commented 1 year ago

I noticed that the version of your DESeq2 package in the R environment is lower than the required version (>= v 1.38.2), which resulted in the installation failure of RNAseqTool. To resolve this issue, please try reinstalling the required version of DESeq2 using the following code:

# remove DESeq2
remove.packages("DESeq2")

# reinstall the new version of DESeq2
if (!requireNamespace("BiocManager", quietly = TRUE))
  install.packages("BiocManager")
BiocManager::install("DESeq2")

# check if the version of DESeq2 package is >= 1.38.2
packageVersion("DESeq2")

After reinstalling DESeq2, you can then proceed to reinstall RNAseqTool with the following code:

devtools::install_github("ChaoXu1997/RNAseqTool")

Please make sure to check that the version of DESeq2 is now at least 1.38.2 before reinstalling RNAseqTool.