Skip to content

theorytools

0.1.3Package record

FAIR Theory Construction

0packages depend
6.5Kdownloads / year
43.8%test coverage
13/13flavors OK

Overview

About

An integrated suite of tools for creating, maintaining, and reusing FAIR (Findable, Accessible, Interoperable, Reusable) theories. Designed to support transparent and collaborative theory development, the package enables users to formalize theories, track changes with version control, assess pre-empirical coherence, and derive testable hypotheses. Aligning with open science principles and workflows, 'theorytools' facilitates the systematic improvement of theoretical frameworks and enhances their discoverability and usability.

Changes in 0.1.3
  • Fix issue raised by Prof. Brian Ripley: download_theory() examples fail if no internet.
  • Add support for Python functions
  • Add download_huggingface() to download models from huggingface
  • Add get_embeddings() to get vector embeddings using huggingface model
  • Add code() to code qualitative text entries with support of cosine similarity or string distance
  • Add add_level() for recursive coding of qualitative text entries
  • Add similarity_stringdist() to calculate similarity between character vectors based on string distance
  • Add similarity_cosine() to calculate cosine similarity between vector embeddings, see get_embeddings()

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-10-17
  • NOTE12 OK, 1 NOTE2026-10-01
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 3 earlier changesHide 3 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.3
READMEYes · 253 wordsVignettesYes · 7 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.1.3Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
22
Examples that run
82%14 run in a plain check · 3 never run
Exported functions with examples
89%
Documented parameters
98%
Return-value docs
94%
Help pages citing references
9%

Downloads

6.5K
CRAN downloads in the past year
Rank #7,836 · ~18/day · ~544/mo
Daily download trend is not available in this view yet.
46030 days
1.1K90 days
6.5K1 year
Compare downloads with other packages →
Also on97 r2u6 autocran

Repository

7Stars
4Forks
3Open issues
0Open PRs
2Releases
88Commits
6Commit identities
88 commits · Last activity 2026-10-07 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-03-12 · 32026-08-10 · 7
PracticesBeta

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

Checks run against github.com/cjvanlissa/theorytools 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

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-07 · The repository has a site deploy workflow

pkgdown site last built 2026-10-07

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
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.

  • GitHub Copilotfirst seen 2026-01-28
    Pull request: opened by its own account
    Commits: 3 by its own account
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 theorytools adds 142 packages (66 with compiled code, 126 MB of source tarballs). Heaviest: stringi 11 MB, tidySEM 9.5 MB, MplusAutomation 7.5 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2025)
Listed in earlier versions (1)
Van Lissa
no longer listed · 0.1.0 to 0.1.3
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.3Latest
    record
    2026-02-07 · current release · diff ↗ ·
    added 6 exports
    add_level, code, download_huggingface, get_embeddings, similarity_cosine, similarity_stringdist
  • 0.1.2
    record
    2025-07-13 · diff ↗ ·
    added 1 export
    prune_dag
  • 0.1.1
    record
    2025-06-23 · diff ↗ ·
    added 8 exports
    add_significance, add_to_pkgdown, derive_formula, download_theory, filter_conditional_independencies, select_controls, simulate_data, use_webex_vignette
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.0
    record
    2025-01-14
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-01-14
Total releases
4 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5
Bundled data
58 KB / 2 files
Download size
1.2 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("theorytools")
Van Lissa, C. J. (2026). theorytools: FAIR Theory Construction (Version 0.1.3) [Computer software]. https://doi.org/10.32614/CRAN.package.theorytools

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

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