Skip to content

learner

1.0.0Package record

Latent Space-Based Transfer Learning

0packages depend
2.6Kdownloads / year
91.9%test coverage
13/13flavors OK

Overview

About

Implements transfer learning methods for low-rank matrix estimation. These methods leverage similarity in the latent row and column spaces between the source and target populations to improve estimation in the target population. The methods include the LatEnt spAce-based tRaNsfer lEaRning (LEARNER) method and the direct projection LEARNER (D-LEARNER) method described by McGrath et al. (2024) doi:10.48550/arXiv.2412.20605.

Changes in 1.0.0
  • Re-implemented most of learner and cv.learner in Rcpp, resulting in significant speed-ups
  • Re-ordered matrix computations in dlearner, resulting in significant speed-ups for large matrices
  • Fixed a bug in cv.learner when Y_target has missing entries
  • Expanded unit testing

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-15
  • ERROR12 OK, 1 ERROR2026-07-13
  • OK13 OK2026-06-18
Show 11 earlier changesHide 11 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-16
  • OK13 OK2026-06-04
  • ERROR12 OK, 1 ERROR2026-06-01
  • OK13 OK2026-05-19
  • ERROR12 OK, 1 ERROR2026-05-18
  • OK12 OK2026-04-25
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-04-11
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-08
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.0
READMEYes · 376 wordsVignettesNoNEWSYes · 100% structured · mentions 1.0.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
5
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
60%

Downloads

2.6K
CRAN downloads in the past year
Rank #16,684 · ~7/day · ~214/mo
Daily download trend is not available in this view yet.
26930 days
76090 days
2.6K1 year
Compare downloads with other packages →
Also on399 r2u4 autocran

Repository

2Stars
1Forks
0Open issues
0Open PRs
0Releases
61Commits
3Commit identities
61 commits · Last activity 2026-10-24 · +100% stars, 30d · Default branch at 1.1.0, ahead of CRAN 1.0.0 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
71%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
3

Stars over time

2025-01-10 · 12026-10-07 · 2
PracticesBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/stmcg/learner on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing learner adds 3 packages (2 with compiled code, 3.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, ScreeNOT 4.2 KB.

Depends (1)
R >= 2.10
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 0.1.0 (2025)
Author
Author · added in 1.0.0
Releases (2)

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
  • 1.0.0Latest
    record
    2025-03-03 · current release · diff ↗
  • 0.1.0
    record
    2025-01-08
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-01-08
Total releases
2 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.10
Bundled data
304 KB / 2 files
Download size
321 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("learner")
McGrath, S., Duan, R., ODea, R., & Zhu, C. (2025). learner: Latent Space-Based Transfer Learning (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.learner

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

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