R Observatory
Search
install.packages("sparsediscrim")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
2,198+42.6% up on the 30 days before, the better direction
Test coverage, method
73%of lines run by tests

A collection of sparse and regularized discriminant analysis methods intended for small-sample, high-dimensional data sets. The package features the High-Dimensional Regularized Discriminant Analysis classifier from Ramey et al. (2017) <arXiv:1602.01182>.

Full description

A collection of sparse and regularized discriminant analysis methods intended for small-sample, high-dimensional data sets. The package features the High-Dimensional Regularized Discriminant Analysis classifier from Ramey et al. (2017) <arXiv:1602.01182>. Other classifiers include those from Dudoit et al. (2002) <doi:10.1198/016214502753479248>, Pang et al. (2009) <doi:10.1111/j.1541-0420.2009.01200.x>, and Tong et al. (2012) <doi:10.1093/bioinformatics/btr690>.

Maintainer
Max Kuhn
Latest release
1 Jul 2021
First release
25 May 2013

Compare with another package

More details
Releases
5
Needs compilation
No
Needs R
>= 2.10
Language
en-US
RoxygenNote
7.1.1.9001
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("sparsediscrim")
APA
Kuhn, M., & Ramey, J. (2021). sparsediscrim: Sparse and Regularized Discriminant Analysis (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.sparsediscrim
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 sparsediscrim version 0.3.0 [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.

No warnings or errors. 2 of 13 check platforms have notes.

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

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    0.3.0
    Time taken
    90 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Max Kuhn <mxkuhn@gmail.com>’

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    0.3.0
    Time taken
    68 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Max Kuhn <mxkuhn@gmail.com>’

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.3.0
    Time taken
    84 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.3.0
    Time taken
    58 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.3.0
    Time taken
    110 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.3.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.3.0
    Time taken
    68 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.3.0
    Time taken
    135 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.3.0
    Time taken
    89 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.3.0
    Time taken
    88 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.3.0
    Time taken
    23 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.3.0
    Time taken
    113 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.3.0
    Time taken
    113 s
  • 2 Note
  • 11 OK
Check output (1)

CRAN incoming feasibility, Note on 2 platforms

Maintainer: ‘Max Kuhn <mxkuhn@gmail.com>’

The Description field contains
  classifier from Ramey et al. (2017) <arXiv:1602.01182>. Other
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

Over time

No change since 11 May 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
11 May 2026Note11200
10 May 2026Warning11110
10 Mar 2026Note12200

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
2,209+40.6% up on the 30 days before, the better directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

2,532 of 26,530

CRAN

2,198 downloads in the last 30 days

Rank
2,532 of 26,530
Change
+42.6% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

7 downloads in the last 30 days

Rank
7,875 of 30,526
Change
no change on the 30 days before

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
−72.7% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

1 downloads in the last 30 days

Rank
5,617 of 7,575
Change
−91.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
6
Dependent packages
1
Suggested by
5
Needs (6)
Installing it adds
28 packages, 17.1 MB of source
Of those, need compilation
14
Optional extras (5)
Dependent packages (1)
PackageTitleDownloads in 30 days
thamesmixTruncated Harmonic Mean Estimator of the Marginal Likelihood for Mixtures364
Functions
106
Public exports
28
Lines of R code
3,691
Median complexity
1
Functions (106)
Size and composition

Lines by kind (7,493)

KindLinesShare
R code3,69149%
Tests1,13415%
Documentation2,66836%

Lines by language

LanguageLinesShare
R4,82564%
Rd2,66836%

Languages are counted from file extensions.

Files
107
R functions
106
Object systems
S3: 53 methods
Complexity
Median
1
Mean
2.05
Highest
11
Median lines per function
15.5
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
106
Calls
186
Unconnected
15
Groups
4
Growth (5 releases)
Total lines by release
3,808 on 25 May 20137,493 on 1 Jul 2021
Release changes

The tests ran and coverage was measured.

Lines run by tests
73.5%
Expressions run by tests
73.4%
Test cases
42
Exports named in tests
67.9%
Coverage by file (22)
Coverage run
Lines counted
1,108
Lines the tests ran
814
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
42
Lines of tests
1,134
Test lines per line of code
0.31
Exports documented
100%
Arguments documented
98.9%
Return value documented
100%
Help pages with examples
33.3%
Examples run in checks
100%
Other documentation
README
Yes, 311 words
Release notes file
Yes
Help pages
57
Lines of documentation
2,668
DatasetSizeColumns
two_class_sim_dataExample bivariate classification data from caret106 × 16TwoFactor1, TwoFactor2, Linear01, Linear02, Linear03, Linear04 and 10 more
  • Max Kuhn

    Maintainer since 0.3.0 (2021), previously John A. Ramey (0.1.0 to 0.2.4), author

Earlier names (1)
  • John A. Ramey

topepo / sparsediscrim on github.com

Stars
3
Forks
0
Open issues
3
Last commit
28 Jun 2021
Activity
Commits
34
Open pull requests
0
Tagged releases
0
Latest tagged release
–
In development
The default branch showed an older version (0.2.5.9000) than CRAN on 2026-10-25
Issues closed in
–
Pull requests closed in
0 days (median)
Pull requests merged
100%
Created
15 Nov 2020
Licence file reads as
–
Development practices (12)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct, Contributing guide, Issue templates, Support guide
Docs sourceREADME.Rmd
GitHub Pages site last deployed 2021-06-27
The repository has a site deploy workflow
CoverageCoverage reporting (Codecov)
CRAN release processcran-comments.md
Lint, format, editorRStudio project

Method, repository practices

Across topepo

R releases
  • On CRAN
  • Archived
  • Release
0.1.00.20.2.30.2.40.3.0BackArchivedArchived

Archived and back

ArchivedBackCRAN's reasonKind
20 Jul 20181 Jul 2021check problems were not corrected despite remindersChecks not fixed
VersionReleasedREvents
0.3.0 current1 Jul 20214.1.0Back on CRAN 1 Jul 2021
Maintainer: Max Kuhn
0.2.414 Aug 20173.4.1Archived 20 Jul 2018
“check problems were not corrected despite reminders”
0.2.324 Jun 20163.3.1
0.231 Mar 20143.0.3
0.1.025 May 20133.0.1
Release notes (0.3.0)

New CRAN release after archival.

  • Formula method now works for prediction when factors are used as predictors.
  • Predictions now use the type argument.