Skip to content

AlleleShift

Predict and Visualize Population-Level Changes in Allele Frequencies in Response to Climate Change

v1.1-3 · Oct 16, 2025 · GPL-3

Description

Methods (<doi:10.7717/peerj.11534>) are provided of calibrating and predicting shifts in allele frequencies through redundancy analysis ('vegan::rda()') and generalized additive models ('mgcv::gam()'). Visualization functions for predicted changes in allele frequencies include 'shift.dot.ggplot()', 'shift.pie.ggplot()', 'shift.moon.ggplot()', 'shift.waffle.ggplot()' and 'shift.surf.ggplot()' that are made with input data sets that are prepared by helper functions for each visualization method. Examples in the documentation show how to prepare animated climate change graphics through a time series with the 'gganimate' package. Function 'amova.rda()' shows how Analysis of Molecular Variance can be directly conducted with the results from redundancy analysis.

Downloads

CRAN

383

Last 30 days

11338th

938

Last 90 days

4.4K

Last year

Trend: +60.3% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

25

Last 90 days

198

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

9

Last 7 days

54

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘BiodiversityR’

Package suggested but not available for checking: ‘GGally’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,229

Files

64

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,189 (53.3%)Docs 1,040 (46.7%)

API

Exported functions

18

Internal functions

1

Recent export changes

v1.0-1+1 environmental.novel

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

40%

Roxygen coverage

94.4%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

66.7%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

7

First release

2021-01-26

Latest release

2025-10-16

Avg cadence

259 days

Cold removal rate

Dep drift

0

LOC over versions

v0.9: 2,137 LOCv0.9-2: 2,137 LOCv1.0-1: 2,219 LOCv1.0-2: 2,225 LOCv1.1: 2,225 LOCv1.1-2: 2,228 LOCv1.1-3: 2,229 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies vegan BiodiversityR adegenet AlleleShift

Version History

8 tracked
new 1.1-3 Mar 10, 2026
updated 1.1-3 ← 1.1-2 diff Oct 15, 2025
updated 1.1-2 ← 1.1 diff Oct 27, 2023
updated 1.1 ← 1.0-2 diff Sep 6, 2022
updated 1.0-2 ← 1.0-1 diff Aug 13, 2021
updated 1.0-1 ← 0.9-2 diff Apr 6, 2021
updated 0.9-2 ← 0.9 diff Jan 28, 2021
new 0.9 Jan 25, 2021