Skip to content

Distributions and Gradients

0packages depend
4Kdownloads / year
90.2%test coverage
13/13flavors OK

Overview

About

Provides density, distribution function, quantile function and random generation for the split normal and split-t distributions, and computes their mean, variance, skewness and kurtosis for the two distributions (Li, F, Villani, M. and Kohn, R. (2010) doi:10.1016/j.jspi.2010.04.031).

Changes in 1.0.0
  • Added gsplitn() for split-normal CDF and log-density gradients.
  • Added and expanded testthat coverage for split-normal and split-t distributions, moments, random generation, and gradients.
  • Fixed split-t density and kurtosis bugs.
  • Modernized package metadata and citation format.
  • Kept R documentation generated from C++ roxygen comments.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-06
  • NOTE9 OK, 5 NOTE2026-04-22
  • ERROR8 OK, 5 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.0
READMEYes · 127 wordsVignettesNoNEWSYes · 100% structured · mentions 1.0.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
5
Examples that run
100%4 run in a plain check
Exported functions with examples
80%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
80%

Downloads

4K
CRAN downloads in the past year
Rank #7,428 · ~11/day · ~330/mo
Daily download trend is not available in this view yet.
39230 days
1.2K90 days
4K1 year
Compare downloads with other packages →
Also on386 r2u8 autocran138 c2d4u

Repository

0Stars
1Forks
0Open issues
0Open PRs
0Releases
99Commits
2Commit identities
statisticscomputingdistributionskew-normalskew-t
99 commits · Last activity 2026-10-16 · Default branch at 1.1, ahead of CRAN 1.0.0 (checked 2026-10-25)
Responsiveness
not measured

Forks over time

2022-10-01 · 12026-07-07 · 1
PracticesBeta

2 development-tooling and community-health practices detected across 1 family in the upstream repository

Checks run against github.com/feng-li/dng on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing dng adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (1)
R >= 3.0.0
Imports (1)
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.0.0 (2026)

Previously maintained by Jiayue Zeng (0.1.0 to 0.2.1).

Releases (5)

Pick two releases to compare their code metrics.

  • 1.0.0Latest
    record
    2026-05-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.1
    record
    2018-06-27 · diff ↗
  • 0.2.0
    record
    2018-06-15 · diff ↗ ·
    removed 8 exports
    splitt_mean, splitt_var, splitt_skewness, splitt_kurtosis, dsplitt, psplitt, qsplitt, rsplitt
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.1
    record
    2017-11-22 · diff ↗
  • 0.1.0
    record
    2017-09-20
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-09-20
Total releases
5 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.0.0
Download size
88 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("dng")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1016/j.jspi.2010.04.031.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for dng version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy