Skip to content

OpenDendro/dplR

Repository files navigation

dplR

Release Version

Lifecycle: experimental CRAN_version_badge CRAN_last_release_badge CRAN RStudio mirror downloads

Development Version

R-CMD-check dplR status badge

Overview

dplR is a package for R that performs tree-ring analyses such as detrending, chronology building, and crossdating. dplR is part of OpenDendro which has Python implementations of many of the dplR functions.

Installation

CRAN

The latest, stable, release version of dplR can be installed from The Comprehensive R Archive Network (CRAN) from the R prompt:

install.packages("dplR")

Develoment Version

CRAN releases of dplR are relatively infrequent. However, the development version of dplR is available here as source code and as binaries. Most users who want the development version are best off getting the binary via r-universe from the R prompt:

install.packages("dplR", repos = "https://openDendro.r-universe.dev/")

Alternatively, the development version can be installed from the source code with the devtools package.

devtools::install_github("openDendro/dplR")

This should be straightforward for Linux users (if any still exist) but because dplR includes both C and Fortran code, you will need the appropriate compilers installed on your system to build from source. Configuring these is relatively easy for Mac and less so for Windows. Unless there is a good reason to want to build from source (e.g., you are a geek or a developer) it's more typical to install a binary.

Getting Started

New users of dplR can begin by working with the introductory chapters in Learning to Love dplR which contains instructional material for using dplR.

Interactive Apps

Some dendro tasks might be done more easily interactively. As such, we have two modest apps using Shiny and dplR as the back-end.