Skip to content
Guangchuang Yu edited this page Nov 18, 2015 · 9 revisions

Could not find function

If you got this error, please make sure you are using the latest R and ggtree.

Packages in Bioconductor, like ggtree, have different release policy compare to CRAN. There are two branches, release and devel, in parallel. Release branch is more stable and only document improvement and bug fixes will commit to it. New functions will only commit to devel branch.

Sometimes I may write blog post to introduce new functions which may not be available in release branch, you need to install the devel version of ggtree in order to use the new functions.

You can download the devel version of ggtree from http://bioconductor.org/packages/devel/bioc/html/ggtree.html and install it, or install the github version of ggtree.

This also applied to other of my packages, including GOSemSim, DOSE, clusterProfiler, ReactomePA and ChIPseeker. If you got the could not find function error, upgrade your installation to latest release. If the error still exists after upgrade to latest release, you need to install the devel version.