Skip to content

LearnPCA

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

v0.3.4 · Apr 26, 2024 · GPL-3

Description

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.

Downloads

734

Last 30 days

4947th

2.2K

Last 90 days

8.3K

Last year

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

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
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 details (1 non-OK)
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'Vig_01_Start_Here.Rmd' using rmarkdown
--- finished re-building 'Vig_01_Start_Here.Rmd'

--- re-building 'Vig_02_Conceptual_Intro_PCA.Rmd' using rmarkdown
! Package pdftex.def Error: File `7d0cb4e05d72707a59376d9618bba95f0685688b.pdf'
 not found: using draft setting.

Error: processing vignette 'Vig_02_Conceptual_Intro_PCA.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/LearnPCA.Rcheck/vign_test/LearnPCA/vignettes/Vig_02_Conceptual_Intro_PCA.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Vig_02_Conceptual_Intro_PCA.log for more info.
--- failed re-building 'Vig_02_Conceptual_Intro_PCA.Rmd'

--- re-building 'Vig_03_Step_By_Step_PCA.Rmd' using rmarkdown
! Package pdftex.def Error: File `ce03783a952330d774564f75c7a2f7f815b83782.pdf'
 not found: using draft setting.

Error: processing vignette 'Vig_03_Step_By_Step_PCA.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCom
...[truncated]...
ging tips. See Vig_06_Math_Behind_PCA.log for more info.
--- failed re-building 'Vig_06_Math_Behind_PCA.Rmd'

--- re-building 'Vig_07_Functions_PCA.Rmd' using rmarkdown
! Package pdftex.def Error: File `7c6822f3ca4d681b050248bdc7bc9d2e71b448d1.pdf'
 not found: using draft setting.

Error: processing vignette 'Vig_07_Functions_PCA.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/LearnPCA.Rcheck/vign_test/LearnPCA/vignettes/Vig_07_Functions_PCA.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Vig_07_Functions_PCA.log for more info.
--- failed re-building 'Vig_07_Functions_PCA.Rmd'

--- re-building 'Vig_08_Notes.Rmd' using rmarkdown
--- finished re-building 'Vig_08_Notes.Rmd'

SUMMARY: processing the following files failed:
  'Vig_02_Conceptual_Intro_PCA.Rmd' 'Vig_03_Step_By_Step_PCA.Rmd'
  'Vig_05_Visualizing_PCA_3D.Rmd' 'Vig_06_Math_Behind_PCA.Rmd'
  'Vig_07_Functions_PCA.Rmd'

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'Vig_01_Start_Here.Rmd' using rmarkdown
--- finished re-building 'Vig_01_Start_Here.Rmd'

--- re-building 'Vig_02_Conceptual_Intro_PCA.Rmd' using rmarkdown
! Package pdftex.def Error: File `7d0cb4e05
...[truncated]...
processing the following files failed:
  'Vig_02_Conceptual_Intro_PCA.Rmd' 'Vig_03_Step_By_Step_PCA.Rmd'
  'Vig_05_Visualizing_PCA_3D.Rmd' 'Vig_06_Math_Behind_PCA.Rmd'
  'Vig_07_Functions_PCA.Rmd'

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

Dependency Network

Dependencies Reverse dependencies rpart class nnet markdown shiny LearnPCA

Version History

new 0.3.4 Mar 10, 2026
updated 0.3.4 ← 0.2.0 diff Apr 25, 2024
updated 0.2.0 ← 0.1.4 diff May 1, 2022
updated 0.1.4 ← 0.1.3 diff Mar 30, 2022
updated 0.1.3 ← 0.1.1 diff Mar 11, 2022
new 0.1.1 Feb 2, 2022