Installation from CRAN | Installation from GitHub

ape is distributed in three different ways:

If you need to install R, all required information can be found on the CRAN website.

Installation from CRAN

There are many different ways to install R packages, so your way is certainly the best one; only the essential information are given here.

ape requires R 3.2.0 or higher. In addition, the packages Rcpp (0.12.0 or higher) and digest must be installed on your machine.

There are no other requirement and ape runs under all operating systems where R can be installed, and under any running environment (Emacs/ESS, RStudio, ...)

Some other packages are suggested: expm, gee, igraph, and phangorn. This means that ape can be installed and used even if these packages are not installed, but you won't be able to use a few of ape's functions (e.g., compar.gee). Anyway, most package installation procedures also install the suggested packages (and Rcpp and digest at the same time).

The version of ape on CRAN is considered stable. There is no fixed schedule for a new release though they usually happen once in a year.


Installation from GitHub

The version of ape on GitHub is considered as testing. The stable version on CRAN is usually numbered x.y (1.0, 1.1, 2.0, ...) or x.y-z (where z is 1, 2, ...) while the testing version is numbered x.y-z.t where t is 1, 2, ... With this system the testing version number is always larger than the current CRAN version, but always smaller than the next one.

The testing version includes new features that will be included in the future version on CRAN. It is mainly directed to maintainers of packages depending on ape, though it can be used by those who are curious about new features.

Compiled versions of the GitHub testing version for Linux, MacOS X, or Windows are provided on R-universe (big thanks to them):

https://emmanuelparadis.r-universe.dev/builds

If you want to know more about ape's development, see the Development section.

Like for installation from CRAN, installing a package from GitHub can be done in different ways, so your way is certainly the best one.


Updated: 7 February 2024
Crédits