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

BiocManager::install("ggtree"), Error in get(x, envir = ns, inherits = FALSE) : object 'rect_to_poly' not found #625

Open
danli349 opened this issue Aug 13, 2024 · 2 comments

Comments

@danli349
Copy link

Hi:

BiocManager::install("ggtree")

How to solve this error?

Bioconductor version 3.17 (BiocManager 1.30.22), R 4.3.0 (2023-04-21)
Installing package(s) 'ggtree'
trying URL 'https://bioconductor.org/packages/3.17/bioc/src/contrib/ggtree_3.8.2.tar.gz'
Content type 'application/gzip' length 360923 bytes (352 KB)
==================================================
downloaded 352 KB

* installing *source* package ‘ggtree’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in get(x, envir = ns, inherits = FALSE) :
  object 'rect_to_poly' not found
Error: unable to load R code in package ‘ggtree’
Execution halted
ERROR: lazy loading failed for package ‘ggtree’
* removing ‘/home/dan/R/x86_64-pc-linux-gnu-library/4.03/ggtree’

Thanks a lot

@xiangpin
Copy link
Member

The issue was fixed in the newest released version (ggtree == 3.12.0 with Bioconductor version 3.19). But your Bioconductor version is 3.17. You should first update your Bioconductor version by updating your R to 4.4.0. Or you can try to install the development version by remotes::install_github("YuLab-SMU/ggtree").

@danli349
Copy link
Author

@xiangpin Yes. Bioconductor version 3.19 solved this problem.
Thanks

LeaSeep added a commit to ICB-DCM/cOmicsArt that referenced this issue Sep 9, 2024
LeaSeep added a commit to ICB-DCM/cOmicsArt that referenced this issue Sep 10, 2024
* specifically set path to lock file
* manual installation of ggtree from: YuLab-SMU/ggtree#625 (installation from github)
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