Skip to content

R package for analysing diversity dynamics with fossil occurrences

License

Notifications You must be signed in to change notification settings

divDyn/r-package

Repository files navigation

divDyn

CRAN checks

R package for quantifying diversity dynamics using fossil sampling data

See the webpage of the package for more info and tutorials: https://divDyn.github.io/r-package/

News

About the package

If you are interested in what this package does, or have questions about its use, please check out the first vignette: ‘Handout to the R package ’divDyn’ v0.8.3 for diversity dynamics from fossil occurrence data’ here, accessible with

libary(divdyn)
vignettes("handout")

As the package is still getting developed, please note that some interface changes might occurr based on the feedback of people and my own experience on what is easier to use. If you have any requirements or recommendations about what to add (or more importantly, if you find a mistake), do not hesitate to contact me at [email protected].

Installing

1. From CRAN (v0.8.3)

You can install the appropriate binaries normally, by running install.packages("divDyn")

2. Using the source tarball to install (v0.8.3)

This you can do with running

install.packages(
  "https://zenodo.org/records/14202954/files/divDyn_0.8.3.tar.gz?download=1", 
  repos=NULL, type="source")

from the R console. Note that there is some code in the package that requires compilation. To do this, the most straightforward way is to install/use Rtools (https://cran.r-project.org/bin/windows/Rtools/) on Windows, and XCode https://developer.apple.com/xcode/ on Mac.

The sources of the older versions are also in the _archive/source folder. You can access earlier versions by changing the version number in the command above.

3. Using the repository files and ‘devtools’ to install (v0.8.3)

To do this: - You need a compiler, as for method 2 - Make sure that the ‘devtools’ package is installed - Run devtools::install_github("divDyn/r-package")

If the frist method is not working for you, and you do not want to mess around with a compiler and such, then contact me and I will find a way to compile binaries for you.

Change log

See the change log here: Change Log