Skip to content

FastKRR

0.2.1

Kernel Ridge Regression using 'RcppArmadillo'

0packages depend
2.5Kdownloads / year
68.7%test coverage
13/13checks pass

Overview

About
Maintained by Kwan-Young BakFirst published 2025-09-224 releasesCRAN page ↗GitHub ↗

Provides core computational operations in C++ via 'RcppArmadillo', enabling faster performance than pure R, improved numerical stability, and parallel execution with OpenMP where available. On systems without OpenMP support, the package automatically falls back to single-threaded execution with no user configuration required. For efficient model selection, it integrates with 'CVST' to provide sequential-testing cross-validation and additionally supports restricted maximum likelihood (REML) for continuous optimization of the regularization parameter. The package offers a unified interface for exact kernel ridge regression and three scalable approximations—Nyström, Pivoted Cholesky, and Random Fourier Features—allowing analyses with substantially larger sample sizes than are feasible with exact KRR. It also integrates with the 'tidymodels' ecosystem via the 'parsnip' model specification 'krr_reg', and the S3 method tunable.krr_reg(). To understand the theoretical background, one can refer to Wainwright (2019) doi:10.1017/9781108627771.

Install

Health

CRAN checks
13OK
Slowest check: 4.5 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.37
68.7%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-25
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 662 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
86%
Return-value docs
86%
References docs
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #14,346 · ~7/day · ~206/mo
Daily download trend is not available in this view yet.
28230 days
71890 days
2.5K1 year
Compare downloads with other packages →
Also on405 r2u17 autocran

Repository

Repository
4Stars
0Forks
0Open issues
0Open PRs
0Releases
193Commits
5Contributors
193 commits · Last activity 2026-08-05 · +33.3% stars, 30d

Stars over time

2025-09-09 · 12026-07-22 · 4

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/kybak90/fastkrr on 2026-08-16.

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (4)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.2.1Latest
    2026-07-21 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.2
    2025-11-15 · diff ↗
  • 0.1.1
    2025-10-08 · diff ↗
  • 0.1.0
    2025-09-22
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-22
Total releases
4 / 1 yrs
License
GPL (>= 2) OSI
Download size
143 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("FastKRR")
Bak, K., Jang, M., Kim, G., & Lee, S. (2026). FastKRR: Kernel Ridge Regression using 'RcppArmadillo' (Version 0.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.FastKRR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 FastKRR version 0.2.1 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, 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