Home

Awesome

PBD

BranchTravis CI logoCodecov logo
masterBuild Statuscodecov.io
masterBuild Statuscodecov.io
developBuild Statuscodecov.io

CRAN_Status_Badge

Protracted Birth-Death model in R

This is a development version before the official release on CRAN.

Installing PBD

The PBD package has a stable version on CRAN and a development version on GitHub.

From CRAN

From within R, do:

install.packages("PBD")

From GitHub

Because the PBD package is located in the folder PBD, do:

devtools::install_github("rsetienne/PBD/PBD")

Using PBD as a package dependency

From CRAN

To your DESCRIPTION file, add PBD as any normal package.

If your package directly uses PBD:

Imports:
  PBD

If your package uses PBD in its perepherals (e.g. vignettes and tests):

Suggests:
  PBD

From GitHub

Because the PBD package is located in the folder PBD, do:

Remotes:
  rsetienne/PBD/PBD