R Observatory
Search
install.packages("haplo.stats")
CRAN 30-day downloads, method
982−45% down on the 30 days before, the worse direction
Test coverage, method
51%of lines run by tests

Routines for the analysis of indirectly measured haplotypes. The statistical methods assume that all subjects are unrelated and that haplotypes are ambiguous (due to unknown linkage phase of the genetic markers). The main functions are: haplo.em(), haplo.glm(), haplo.score(), and haplo.power(); all of which have detailed examples in the vignette.

Maintainer
Jason P. Sinnwell
Licence
GPL (>= 2)
Latest release
10 Sep 2026
First release
19 Mar 2004

Compare with another package

More details
Releases
37
Needs compilation
Yes
Needs R
>= 4.4.0
Config/roxygen2/version
8.0.0
Date
2026-09-10
Task views (0)

Earlier: Statistical Genetics (until 28 Aug 2020).

Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("haplo.stats")
APA
Sinnwell, J. P., & Daniel, S. (2026). haplo.stats: Statistical Analysis of Haplotypes with Traits and Covariates
when Linkage Phase is Ambiguous (Version 1.9.9.1) [Computer software]. https://doi.org/10.32614/CRAN.package.haplo.stats
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 haplo.stats version 1.9.9.1 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.9.9.1
    Time taken
    141 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.9.9.1
    Time taken
    89 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.9.9.1
    Time taken
    117 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.9.9.1
    Time taken
    419 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.9.9.1
    Time taken
    192 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.9.9.1
    Time taken
    83 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.9.9.1
    Time taken
    457 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.9.9.1
    Time taken
    193 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.9.9.1
    Time taken
    135 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.9.9.1
    Time taken
    133 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.9.9.1
    Time taken
    66 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.9.9.1
    Time taken
    482 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.9.9.1
    Time taken
    131 s
  • 13 OK

Over time

No change since 16 Sep 2026

As a list (4)
ChangedWorst statusOKNotesWarningsErrors
16 Sep 2026OK13000
27 Jul 2026Error10003
27 Apr 2026OK7000
10 Mar 2026Error11003

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
2,082+1.2% up on the 30 days before, the better directionIt is the sum of 6 channels: CRAN, r2u, autoCRAN, conda-forge, Bioconda and c2d4u.

CRAN rank

3,712 of 26,530

CRAN

982 downloads in the last 30 days

Rank
3,712 of 26,530
Change
−45% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

31 downloads in the last 30 days

Rank
3,900 of 30,526
Change
+63.2% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

5 downloads in the last 30 days

Rank
10,893 of 29,212
Change
−61.5% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

1,054 downloads in the last 30 days

Rank
985 of 3,828
Change
+397% up on the 30 days before, the better direction

It is in the total. Take it out

Bioconda

7 downloads in the last 30 days

Rank
4,662 of 4,976
Change
+16.7% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

3 downloads in the last 30 days

Rank
4,165 of 7,575
Change
−86.4% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
5
Dependent packages
0
Suggested by
2
Needs (5)
Installing it adds
7 packages, 2.1 MB of source
Of those, need compilation
3
Optional extras (2)
Functions
53
Public exports
52
Lines of R code
7,272
Median complexity
3
Functions (53)
Size and composition

Lines by kind (120,310)

KindLinesShare
R code7,2726%
Tests103,19586%
Documentation5,4185%
Guides1,6291%
Compiled code2,7962%

Lines by language

LanguageLinesShare
R104,64587%
Other5,8225%
Rd5,4185%
C2,7962%
Vignettes1,6291%

Languages are counted from file extensions.

Files
180
R functions
3
Compiled functions
50
Object systems
S3: 19 methods
Complexity
Median
3
Mean
2.67
Highest
4
Median lines per function
29
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
3
Calls
0
Unconnected
3
Groups
0
Growth (37 releases)
Total lines by release
5,468 on 19 Mar 2004120,310 on 10 Sep 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
50.5%
Expressions run by tests
49.9%
Test cases
3
Exports named in tests
51.9%
Coverage by file (63)
Coverage run
Lines counted
2,535
Lines the tests ran
1,278
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
3
Lines of tests
103,195
Test lines per line of code
14.19
Exports documented
100%
Arguments documented
72.9%
Return value documented
95.3%
Help pages with examples
64.2%
Examples run in checks
73.5%
Guides (1)
Other documentation
README
Yes, 178 words
Release notes file
Yes
Help pages
53
Lines of documentation
5,418
DatasetSizeColumns
hapPower.demoSet of haplotypes and frequencies for power and sample size calculations21 × 6loc.1, loc.2, loc.3, loc.4, loc.5, haplo.freq
hla.demoHLA Loci and Serologic Response to Measles Vaccinationalso in 1 other package220 × 26resp, resp.cat, male, age, DPB.a1, DPB.a2 and 20 more
seqhap.datSimulated data for seqhap examples1,000 × 21disease, m1.1, m1.2, m2.1, m2.2, m3.1 and 15 more
seqhap.posSimulated data for seqhap examples10 × 1pos
Earlier names (7)
  • Daniel J. Schaid
  • Schaid DJ
  • Sinnwell JP
  • with contributions from Zhaoxia Yu
  • Yu
  • Yu Z
  • Z

No repository on record

R releases
  • On CRAN
  • Archived
  • Facing archival
  • Release
1.2.01.3.01.9.9.1Archived and back twiceArchived and backArchived and backBack

Archived and back

ArchivedBackCRAN's reasonKind
27 Sep 20269 Oct 2026issues were not corrected in timeChecks not fixed
15 Mar 202625 Apr 2026issues were not corrected even after reminders and an updateChecks not fixed
27 Aug 202028 Aug 2020check issues were not corrected in timeChecks not fixed
VersionReleasedREvents
1.9.9.1 current10 Sep 20264.6.1Archived 27 Sep 2026
“issues were not corrected in time”
Back on CRAN 9 Oct 2026
Fix due 27 Sep 2026
The checks were fixed and the deadline was lifted.
1.9.8.725 Apr 20264.6.0Back on CRAN 25 Apr 2026
1.9.8.313 Mar 20264.5.3Archived 15 Mar 2026
“issues were not corrected even after reminders and an update”
1.9.8.213 Feb 20264.5.2
1.9.7.112 Feb 20264.5.2
1.9.720 Sep 20244.4.1
1.9.5.12 Feb 20244.3.2
1.9.511 Dec 20234.3.2
Earlier versions (29)
VersionReleasedREvents
1.9.320 Jan 20234.2.2
1.9.228 Nov 20224.2.2
1.8.93 Jun 20224.2.0
1.8.72 Sep 20214.1.1
1.8.614 Oct 20204.0.3
1.8.528 Aug 20204.0.2Back on CRAN 28 Aug 2020
1.8.212 Aug 20204.0.2Archived 27 Aug 2020
“check issues were not corrected in time”
1.7.911 Apr 20183.4.4
1.7.76 Apr 20163.2.4
1.7.623 Feb 20163.2.3
1.7.114 Aug 20153.2.2
1.6.114 Sep 20143.1.1
1.6.86 Dec 20133.0.2Licence: GPL (>= 2)
1.6.317 Jan 20132.15.2
1.6.115 Jan 20132.15.2
1.5.820 Nov 20122.15.2
1.5.628 Sep 20122.15.1
1.5.525 Feb 20122.14.1
1.5.213 Dec 20112.14.0
1.4.41 Oct 20092.9.2
1.4.328 Apr 20092.9.0
1.3.813 May 20082.7.0Licence: GPL2 | file LICENSE
1.3.114 Jun 20072.5.0
1.3.01 May 20072.5.0
1.2.25 Oct 20052.1.1
1.2.110 May 20052.1.0
1.2.02 Apr 20052.0.1
1.1.119 Nov 20042.0.1
1.1.019 Mar 20041.8.1

Relicensed from Copyright 2003 Mayo Foundation for Medical Education and Research. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. For other licensing arrangements, please contact Daniel J. Schaid, Ph.D., Division of Biostatistics, Harwick Building Room 775, Mayo Clinic, 200 First St., SW, Rochester, MN 55905. Phone: 507-284-0639, fax: 507-284-9542 email: schaid@mayo.edu in version 1.3.8.