Skip to content

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. To do so, start a fresh R session remove dplR if it's already part of your R installation (remove.packages("dplR")), and then 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 build from source (e.g., you are a geek or a developer) it's more typical to install a binary.

Getting Started

New users can start with the package vignette, which walks through reading ring widths, detrending, building a chronology and checking crossdating on data that ship with dplR. Once dplR is installed, open it with:

vignette("intro-dplR")

If you installed from GitHub, the vignettes are only there if you asked for them: devtools::install_github("openDendro/dplR", build_vignettes = TRUE).

Learning to Love dplR covers the same ground and more in depth.

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.

About

This is the dev site for the dplR package in R

Resources

Stars

43 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages