Skip to content

LearnPCA

0.3.4Package record

Functions, Data Sets and Vignettes to Aid in Learning Principal Components Analysis (PCA)

0packages depend
7.4Kdownloads / year
10.9%test coverage
13/13flavors OK

Overview

About

Principal component analysis (PCA) is one of the most widely used data analysis techniques. This package provides a series of vignettes explaining PCA starting from basic concepts. The primary purpose is to serve as a self-study resource for anyone wishing to understand PCA better. A few convenience functions are provided as well.

Changes in 0.3.4
  • Branch master renamed to main, with corresponding changes to documentation and GHA scripts.
  • Added pkgs rpart, class, nnet to Depends: (found during stress testing, needed by chemometrics and somehow not automatically present).
  • Fix navigation error in top_matter.md, found by DTH, and a similar one in refer_to_works_consulted.md identified with further testing.
  • New vignette: Vig_08_Notes.
  • New language in Vig_06 about the meaning of the term "loadings", along with a correction. Motivated by SantiDu in Issue #14 -- thanks!
  • Misc changes to satisfy CRAN, most notably no longer exporting .demo_PCsearch().

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-03-30
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.4
README· In the repository, left out of the releaseVignettesYes · 11 · dynamicNEWSYes · 67% structured · mentions 0.3.4Citation fileNoWebsiteYes · pkgdown
Help pages
4includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
67%
Help pages citing references
0%

Downloads

7.4K
CRAN downloads in the past year
Rank #7,642 · ~20/day · ~618/mo
Daily download trend is not available in this view yet.
42830 days
1.2K90 days
7.4K1 year
Compare downloads with other packages →
Also on92 r2u3 autocran67 c2d4u

Repository

14Stars
4Forks
2Open issues
0Open PRs
0Releases
338Commits
3Commit identities
338 commits · Last activity 2024-05-17 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
21
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-23 · 112026-07-07 · 14
PracticesBeta

7 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/bryanhanson/learnpca on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (2)
Code of conductContributing guide
Docs source (3)
pkgdown

GitHub Pages site last deployed 2024-04-26 · The repository has a site deploy workflow

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing LearnPCA adds 33 packages (20 with compiled code, 26 MB of source tarballs). Heaviest: bslib 5.6 MB, promises 3.1 MB, sass 2.9 MB.

Depends (3)
rpartclassnnet
Imports (4)
markdownshinystatsgraphics
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.1 (2022)
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.4Latest
    record
    2024-04-26 · current release · diff ↗ ·
    removed 1 export
    .demo_PC_search
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0
    record
    2022-05-02 · diff ↗ ·
    added 2 exports
    .demo_PC_search, PCsearch
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.4
    record
    2022-03-31 · diff ↗
  • 0.1.3
    record
    2022-03-12 · diff ↗
  • 0.1.1
    record
    2022-02-03
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-02-03
Total releases
5 / 4 yrs
License
GPL-3 OSI
Download size
1.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("LearnPCA")
Hanson, B. A., & Harvey, D. T. (2024). LearnPCA: Functions, Data Sets and Vignettes to Aid in Learning Principal Components Analysis (PCA) (Version 0.3.4) [Computer software]. https://doi.org/10.32614/CRAN.package.LearnPCA

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

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 LearnPCA version 0.3.4 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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