Tuesday, July 28, 2015

New package version with bug fix for evol.vcv

I just posted a new version of phytools to my webpage - though not to CRAN. This version contains only the minor update over the previous version of containing a bug fix for evol.vcv.

It is pretty easy to install this version from source, however - and this can be done even if dependency packages are not yet installed.

The simplest way to do this (in my opinion) is to first install the most recent CRAN version, which will automatically install all the packages upon which phytools depends. Then you can go ahead and install from source using the URL of the latest package build I have posted.

install.packages("phytools",repos="http://cran.us.r-project.org")
## Installing package into 'C:/Users/Liam/Documents/R/win-library/3.2'
## (as 'lib' is unspecified)
## also installing the dependency 'ape'
## package 'ape' successfully unpacked and MD5 sums checked
## package 'phytools' successfully unpacked and MD5 sums checked
## 
## The downloaded binary packages are in
##  C:\Users\Liam\AppData\Local\Temp\RtmpgZn2Oa\downloaded_packages
## or set a mirror repository near you
packageVersion("phytools")
## [1] '0.4.60'
install.packages("http://www.phytools.org/nonstatic/phytools_0.4-62.tar.gz")
## Installing package into 'C:/Users/Liam/Documents/R/win-library/3.2'
## (as 'lib' is unspecified)
## inferring 'repos = NULL' from 'pkgs'
packageVersion("phytools")
## [1] '0.4.62'
library(phytools)
## Loading required package: ape
## Loading required package: maps

That's it.

No comments:

Post a Comment

Note: due to the very large amount of spam, all comments are now automatically submitted for moderation.