As far as I understand the DESeq2 package is automatically loaded when R is started up. I am not interested in using DESeq2 anymore, so how can I stop it from automatically loading? It's been interfering with the installation of other R packages, as sometimes I need to restart my session so that the package I am attempting to install would first update an already existing package. Because DESeq2 masks so many packages and loads first, I get basically stuck in a loop.
The other issue is errors related to DESeq2 popping up when I don't have the package installed. I am using the same RStudio project file on both the PC and laptop. However, I have DESeq2 "installed" on the PC but not on the laptop. I guess that some settings in the RStudio project file attempt to load the DESeq2 package when I have the project open on my laptop, but to no avail because I don't have the package on it. The errors are
Loading required package: DESeq2 Error in .requirePackage(package) : unable to find required package ‘DESeq2’ In addition: Warning message: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘DESeq2’Loading required package: DESeq2 Warning message: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘DESeq2’
They pop up randomly, even when the packages that are loaded at the moment are not associated with DESeq2 (e.g. ggplot2).
So how do I uninstall DESeq2 and stop the errors? It's been my most frustrating experience with a package yet.