ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

ggtree_2.5.0.992 is not available (for R version 4.0.0)

Open ZongzhiWu opened this issue 4 years ago • 5 comments
trafficstars

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)

ZongzhiWu avatar Nov 26 '20 12:11 ZongzhiWu

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.

xiangpin avatar Nov 26 '20 13:11 xiangpin

I have installed Rtools 4.0. However, it didn't work.

ZongzhiWu avatar Nov 27 '20 05:11 ZongzhiWu

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)

ZongzhiWu avatar Nov 27 '20 05:11 ZongzhiWu

How about remotes::install_github("YuLab-SMU/ggtree") ?

xiangpin avatar Nov 27 '20 05:11 xiangpin

It worked! Thanks a lot~

ZongzhiWu avatar Nov 27 '20 05:11 ZongzhiWu