Skip to content

tidylda

0.1.1Package record

Latent Dirichlet Allocation Using 'tidyverse' Conventions

0packages depend
4.1Kdownloads / year
95.8%test coverage
13/13flavors OK

Overview

About

Implements an algorithm for Latent Dirichlet Allocation (LDA), Blei et al. (2003) https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf, using style conventions from the 'tidyverse', Wickham et al. (2019)doi:10.21105/joss.01686, and 'tidymodels', Kuhn et al.https://tidymodels.github.io/model-implementation-principles/. Fitting is done via 'warpLDA', a Metropolis-Hastings sampler, Chen et al. (2016) doi:10.48550/arXiv.1510.08628. Also implements several novel features for LDA such as guided models and transfer learning.

Changes in 0.1.1
  • **Links against libatomic where the compiler needs it.** RcppThread's thread pool keeps each worker's loop range in an over-aligned std::atomic. clang treats an over-aligned atomic as not lock-free and emits a call into libatomic, which was not being linked, so the shared object failed to load on CRAN's r-devel-linux-x86_64-debian-clang after that machine moved to LLVM 23. A new configure script probes the construct and adds -latomic only on toolchains that require it. This is a build fix: no user-visible change, and no change to results.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.8 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-09-16
  • ERROR12 OK, 1 ERROR2026-09-05
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 6 earlier changesHide 6 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-04-10
  • ERROR13 OK, 1 ERROR2026-04-09
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 467 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 0.1.1Citation fileNoWebsitenot declared in DESCRIPTION
Description cites a JOSS paper
Help pages
31 (21 internal)includes a package overview page
Examples that run
25%2 run in a plain check · 6 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
75%
Documented parameters
100%
Return-value docs
75%
Help pages citing references
3%

Downloads

4.1K
CRAN downloads in the past year
Rank #6,315 · ~11/day · ~346/mo
Daily download trend is not available in this view yet.
52830 days
1.3K90 days
4.1K1 year
Compare downloads with other packages →
Also on406 r2u3 autocran

Repository

41Stars
3Forks
9Open issues
0Open PRs
8Releases
578Commits
4Commit identities
578 commits · Last activity 2026-09-10 · 0% stars, 30d · Default branch at 0.1.1.999, ahead of CRAN 0.1.1 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-23 · 422026-08-26 · 41
PracticesBeta

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

Checks run against github.com/tommyjones/tidylda on 2026-10-11.

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 (1)
Code of conduct
Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-08-18
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 41 crediting it in the message
Models named in its commits
  • Claude Opus 541 commits · Aug to Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
23 external dependencies (excludes base and recommended)

Installing tidylda adds 30 packages (19 with compiled code, 26 MB of source tarballs). Heaviest: stringi 11 MB, tidytext 2.6 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.5.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.0.1 (2021)
Contributor
Contributor
Releases (8)

Pick two releases to compare their code metrics.

  • 0.1.1Latest
    record
    2026-09-10 · current release · diff ↗
  • 0.1.0
    record
    2026-08-28 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.7
    record
    2025-11-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2024-04-22
  • 0.0.5
    record
    2024-04-22 · diff ↗
  • archivedRemoved from CRAN
    2024-04-20
    issues were not corrected in time
  • 0.0.4
    record
    2023-12-01 · diff ↗
  • 0.0.3
    record
    2023-07-14 · diff ↗ ·
    removed 1 export
    generate
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.0.2
    record
    2021-12-08 · diff ↗
  • 0.0.1
    record
    2021-07-19
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-07-19
Total releases
8 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
200 KB / 2 files
Download size
629 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tidylda")
Jones, T., Knapp, B., & Park, B. (2026). tidylda: Latent Dirichlet Allocation Using 'tidyverse' Conventions (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.tidylda

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

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