Skip to content
CRAN requires the check problems on this package to be fixed before Oct 29 or it will be archived. See the check details

dragonfarm

0.3.4Package record

Fine-Tune Small Language Models with LoRA from R

0packages depend
259downloads / year
82.0%test coverage
13/13flavors OK

Overview

About

Fine-tune small (100M to 3B parameter) causal language models with LoRA (Low-Rank Adaptation) from R. Datasets are mapped to chat-format prompts and responses, training runs in a background 'Python' process built on Hugging Face 'transformers' and 'peft', and a 'shiny' app offers drag-and-drop dataset upload and column mapping. 'Python' dependencies are declared through 'reticulate' and resolved automatically on first use.

Changes in 0.3.4
  • Fixed a test that failed on macOS (CRAN's M1mac additional check) though it passed everywhere else. It compared dragon_runs_dir()'s default, a directory that does not exist yet, against tempdir() after normalizePath(); on macOS that resolves /var to /private/var for the existing tempdir() but leaves the nonexistent path unresolved, so the prefix check failed. The test now compares the existing parent directory. No change to package code or behaviour.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.4 min · r-release-macos-x86_64
Status changes
  • OK13 OKNow
  • OK2 OK2026-10-07
Advisories

none known

Documentation

In release 0.3.4
READMEYes · 1,669 wordsVignettesYes · 4 · staticNEWSYes · 100% structured · mentions 0.3.4Citation fileNo
Help pages
54
Examples that run
100%35 run in a plain check (21 of them under a condition)
Exported functions with examples
65%
Documented parameters
95%
Return-value docs
100%
Help pages citing references
0%

Downloads

259
CRAN downloads in the past year
Rank #25,363 · ~1/day · ~22/mo
Daily download trend is not available in this view yet.
25930 days
25990 days
2591 year
Compare downloads with other packages →
Also on3 autocran

Repository

Moved from tejas4patel/dragon-farm.

13Stars
0Forks
6Open issues
0Open PRs
8Releases
278Commits
2Commit identities
fine-tuningllmlocal-llmloraqlorar-packageragrstats
278 commits · Last activity 2026-10-19 · +1200% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-10-07 · 12026-10-17 · 13
PracticesBeta

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

Checks run against github.com/tejas4patel/dragon-farm 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

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-27 · The repository has a site deploy workflow

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
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-09-14
    Seen in the repository: .claude
    Commits: at least 38 crediting it in the message
Models named in its commits
  • Claude Fable 5.133 commits · Sep 2026
  • Claude Sonnet 55 commits · 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
20 external dependencies (excludes base and recommended)

Installing dragonfarm adds 85 packages (46 with compiled code, 76 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

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

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.3.3 (2026)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.3.4Latest
    record
    2026-10-12 · current release · diff ↗
  • 0.3.3
    record
    2026-10-07 ·
    3 days in CRAN's queue
    Listed in CRAN's incoming queue from 2026-10-03 21:57 to 2026-10-07 06:45 UTC, in 16 readings.
  • R
    R 4.6.0 released · 2026-04-24
Across CRAN, the median accepted release of the past year spent 15 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2026-10-07
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
238 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dragonfarm")
Patel, T. (2026). dragonfarm: Fine-Tune Small Language Models with LoRA from R (Version 0.3.4) [Computer software]. https://doi.org/10.32614/CRAN.package.dragonfarm

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 dragonfarm version 0.3.4 [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