Error: package or namespace load failed for ‘clusterProfiler’: object ‘get_fun_from_pkg’ is not exported by 'namespace:rvcheck'
1
0
Entering edit mode
19 days ago

Hi, the following problem happens when using clusterProfiler in R.

I don't know how to solve it.

Can someone please tell me how to do this?

Error: package or namespace load failed for ‘clusterProfiler’:  object ‘get_fun_from_pkg’ is not exported by 'namespace:rvcheck'
clusterProfiler namespace offtopic get_fun_from_pkg rvcheck • 2.0k views
ADD COMMENT
1
Entering edit mode

This post does not fit the theme of this forum. Please ask this on https://support.bioconductor.org/

ADD REPLY
0
Entering edit mode

Thank you for your advise

ADD REPLY
0
Entering edit mode

Hi, I am also searching for this solution, and came across the following post. Just posting to be helpful for someone else.

https://support.bioconductor.org/p/9139604/#9139615

Copied from this post: " I think the easiest solution would be to update your version of R to the latest (4.1.1) and then reinstall the ggtree package.

The reason you're running into this error is because the latest version of rvcheck (0.2.0) has removed the get_aes_var function. The current ggtree version (3.0.4) is aware of this change, and doesn't look for it. However, because you're using an old version of R, you're using also using an old version of both Bioconductor and subsequently the ggtree package. This older version still thinks get_aes_var should be present, and then fails when it isn't. "

ADD REPLY
0
Entering edit mode
2 days ago

The problem is that rvcheck v2.0.0 removed the function get_fun_from_pkg which clusterProfiler depends on. Until the package author removes this dependency you can install rvcheck v1.8.0 to get around the issue.

ADD COMMENT

Login before adding your answer.

Traffic: 1619 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6