Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install r package for clusterProfiler #711

Open
shaliniC23 opened this issue Jul 23, 2024 · 1 comment
Open

Unable to install r package for clusterProfiler #711

shaliniC23 opened this issue Jul 23, 2024 · 1 comment

Comments

@shaliniC23
Copy link

writen code:
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("clusterProfiler")

console output:

if (!require("BiocManager", quietly = TRUE))

  • install.packages("BiocManager")

BiocManager::install("clusterProfiler")
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package =
"BiocManager")' for details.
Replacement repositories:
CRAN: https://cran.rstudio.com/
Bioconductor version 3.19 (BiocManager 1.30.23), R 4.4.1 (2024-06-14)
Installation paths not writeable, unable to update packages
path: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
packages:
foreign, MASS, nlme, survival
Warning message:
package(s) not installed when version(s) same as or greater than current; use force = TRUE to
re-install: 'clusterProfiler'

@guidohooiveld
Copy link

guidohooiveld commented Jul 23, 2024

Because of this warning message:

package(s) not installed when version(s) same as or greater than current; use force = TRUE to
re-install: 'clusterProfiler'

It seems to me that clusterProfiler was already installed!

What happens if you load clusterProfiler by typing library(clusterProfiler)?

Also, yet not related to you question, but still relevant is this message:

Installation paths not writeable, unable to update packages

This means that you will need to start R as administrator in order to update the R core packages foreign, MASS, nlme, and survival.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants