issues installing pathfindR package
1
1
Entering edit mode
11 months ago
peter.berry5 ▴ 60

Hi

I am trying to use the pathfindR package to do enrichment analysis on my data. According to the vignette the package is downloaded from CRAN by

install.packages("pathfindR")

this gives the following output
Installing package into ��
(as �lib� is unspecified)
Warning in install.packages :
dependencies ‘org.Hs.eg.db’, ‘KEGGREST’, ‘KEGGgraph’ are not available
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/pathfindR_1.6.0.zip'
Content type 'application/zip' length 2782854 bytes (2.7 MB)

package ‘pathfindR’ successfully unpacked and MD5 sums checked


so I believe the package has been installed successfully. However, when I call the package by

library(pathfindR)


I get

#Error in library("pathfindR") : there is no package called ‘pathfindR’


Any thoughts/suggestions?

pathfindR R • 967 views
0
Entering edit mode
Warning in install.packages :  dependencies ‘org.Hs.eg.db’, ‘KEGGREST’, ‘KEGGgraph’ are not available


So the install was not complete. You should install those packages first.

0
Entering edit mode

@GenoMax, thanks, I did wonder about that bit. Any suggestions on how to fix that problem? I understood the dependencies installed automatically and that no action from me was required.

2
Entering edit mode

Just install the required packages. Those dependencies are not automatically installed!

0
Entering edit mode

@GenoMax and Bruno. Have done that and it it's working. Just for info the other issue I had was I needed to install a JRE which I apparently hadn't done before. Thanks for the help. It's appreciated.

0
Entering edit mode

I have the same problem today!

Could someone tell me where I am going wrong? I updated my Java and installed KEGGgraph, etc separately as well

0
Entering edit mode
3 months ago
Elie • 0

Hey!

A bit late but I had the same issue today, and I resolved it installing separately the 2 packages using bioconductor

if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("KEGGgraph")


and

if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("KEGGREST")


Then I faced the same issue with Java, so I just downloaded on my mac oracle JDK and java 8, and eventually the pathfindR package was installed