ggtree
ggtree copied to clipboard
ggtree_2.5.0.992 is not available (for R version 4.0.0)
install_zip("ggtree-master.zip") WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 4.0 from https://cran.r-project.org/bin/windows/Rtools/. √ checking for file 'C:\Users\wzz\AppData\Local\Temp\Rtmp4AGaZ1\file38144268d4\ggtree-master/DESCRIPTION'
- preparing 'ggtree': √ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'ggtree_2.5.0.992.tar.gz'
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/ Warning in install.packages : package ‘C:/Users/wzz/AppData/Local/Temp/Rtmp4AGaZ1/file38144268d4/ggtree_2.5.0.992.tar.gz’ is not available (for R version 4.0.0)
You should install the Rtools 4.0. It is required to install R packages which not be compiled. Rtools 4.0 is available from https://cran.rstudio.com/bin/windows/Rtools/.
You can refer this.
I have installed Rtools 4.0. However, it didn't work.
install_zip("ggtree-master.zip") √ checking for file 'C:\Users\wzz\AppData\Local\Temp\RtmpW0VmGK\file4164f3b728e\ggtree-master/DESCRIPTION'
- preparing 'ggtree': √ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'ggtree_2.5.0.992.tar.gz'
Warning in install.packages : package ‘C:/Users/wzz/AppData/Local/Temp/RtmpW0VmGK/file4164f3b728e/ggtree_2.5.0.992.tar.gz’ is not available (for R version 4.0.0)
How about remotes::install_github("YuLab-SMU/ggtree") ?
It worked! Thanks a lot~