Skip to content

sd2R

0.2.1

Stable Diffusion Image Generation

0packages depend
1.8Kdownloads / year
1.6%test coverage
12/13checks pass

Overview

About
Maintained by Yuri BaramykovFirst published 2026-03-303 releasesCRAN page ↗GitHub ↗

Provides Stable Diffusion image generation using the 'ggmlR' library, with no 'Python' or external API dependencies. Supports text-to-image and image-to-image generation for SD 1.x, SD 2.x, 'SDXL', Flux, and 'FLUX.2'. A single sd_generate() function handles the entire pipeline, including sampling and high-resolution output. Features multi-GPU support, a 'Shiny' GUI, and runs on CPU or 'Vulkan' GPU across Linux, macOS, and Windows.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 11.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.38
1.6%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-07-10
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-30
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-16
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • NOTE2026-04-11
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-31
    4 OK · 1 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,603 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
8%
Documented parameters
95%
Return-value docs
87%
References docs
0%

Downloads

1.8K
CRAN downloads in the past year
Rank #8,337 · ~5/day · ~150/mo
Daily download trend is not available in this view yet.
19430 days
1.2K90 days
1.8K1 year
Compare downloads with other packages →
Also on208 r2u

Repository

Repository
6Stars
0Forks
0Open issues
0Open PRs
3Releases
83Commits
2Contributors
83 commits · Last activity 2026-06-30 · +20% stars, 30d

Stars over time

2026-03-30 · 12026-07-09 · 6

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/zabis13/sd2r on 2026-07-31.

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

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (19)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (6)
Contributor
Contributor
Contributor, Copyright holder
Contributor
Contributor
Contributor, Copyright holder
Copyright holders (14)
Contributor, Copyright holder
Contributor, Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Show 6 more copyright holders
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Package Timeline

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

  • 0.2.1Latest
    2026-06-19 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.9
    2026-04-09 · diff ↗
  • 0.1.7
    2026-03-30
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-30
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
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