Skip to content

discord

Functions for Discordant Kinship Modeling

v1.3 · Jan 18, 2026 · GPL-3

Description

Functions for discordant kinship modeling (and other sibling-based quasi-experimental designs). Contains data restructuring functions and functions for generating biometrically informed data for kin pairs. See [Garrison and Rodgers, 2016 <doi:10.1016/j.intell.2016.08.008>], [Sims, Trattner, and Garrison, 2024 <doi:10.3389/fpsyg.2024.1430978>] for empirical examples, and [Garrison and colleagues for theoretical work <doi:10.1101/2025.08.25.25334395>].

Downloads

CRAN

425

Last 30 days

9489th

1.1K

Last 90 days

5.4K

Last year

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

r2u CRAN

2

Last 30 days

26

Last 90 days

111

Last year

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

autoCRAN

4

Last 7 days

18

Last 30 days

2

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

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘categorical_predictors.Rmd’ using rmarkdown
--- finished re-building ‘categorical_predictors.Rmd’

--- re-building ‘full_data_workflow.Rmd’ using rmarkdown

Quitting from full_data_workflow.Rm
...[truncated]...
s:
there is no package called 'janitor'
--- failed re-building ‘regression.Rmd’

SUMMARY: processing the following files failed:
  ‘full_data_workflow.Rmd’ ‘links.Rmd’ ‘plots.Rmd’ ‘regression.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

7,164

Files

72

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,725 (24.1%)Tests 1,663 (23.2%)Docs 837 (11.7%)Vignettes 2,939 (41%)

API

Exported functions

5

Internal functions

20

Recent export changes

v1.2.4.1+2 discord_between_model, discord_within_model
v1.2.3+1 kinsim

Testing & CI

Has tests

Yes

Test-to-code ratio

0.96

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

20%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.50

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2017-05-02

Latest release

2026-01-18

Avg cadence

247 days

Cold removal rate

100%

Dep drift

11

LOC over versions

v0.1: 773 LOCv1.0.0: 1,019 LOCv1.1.0: 2,035 LOCv1.2.3: 4,393 LOCv1.2.4.1: 6,300 LOCv1.3: 7,164 LOC

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

Reverse Dependencies (2)

suggests

Dependency Network

Dependencies Reverse dependencies BGmisc ggpedigree discord

Version History

7 tracked
new 1.3 Mar 10, 2026
updated 1.3 ← 1.2.4.1 diff Jan 17, 2026
updated 1.2.4.1 ← 1.2.3 diff Jun 9, 2025
updated 1.2.3 ← 1.1.0 diff Apr 5, 2025
updated 1.1.0 ← 1.0.0 diff Jul 14, 2021
updated 1.0.0 ← 0.1 diff Nov 9, 2020
new 0.1 May 1, 2017