Skip to content

sudoku

Sudoku Puzzle Generator and Solver

v2.8 · Apr 19, 2022 · GPL

Description

Generates, plays, and solves Sudoku puzzles. The GUI playSudoku() needs package "tkrplot" if you are not on Windows.

Downloads

CRAN

309

Last 30 days

14882nd

759

Last 90 days

3.3K

Last year

Trend: +67.9% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

27

Last 90 days

102

Last year

Trend: -90.9% (30d vs prior 30d)

autoCRAN

2

Last 7 days

3

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘David Brahm <brahm@alum.mit.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "David",
                      family = "Brahm",
                      role = c("aut", "cre"),
                      email = "brahm@alum.mit.edu"),
               person(given = "Greg",
                      family = "Snow",
                      role = "aut",
                      email = "Greg.Snow@intermountainmail.org"),
               person(given = c("with", "contributions", "from", "Curt"),
                      family = "Seeliger",
                      role = "aut",
                      email = "Seeliger.Curt@epamail.epa.gov"),
               person(given = "Henrik",
                      family = "Bengtsson.",
                      role = "aut",
                      email = "hb@maths.lth.se"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘David Brahm <brahm@alum.mit.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "David",
                      family = "Brahm",
                      role = c("aut", "cre"),
                      email = "brahm@alum.mit.edu"),
               person(given = "Greg",
                      family = "Snow",
                      role = "aut",
                      email = "Greg.Snow@intermountainmail.org"),
               person(given = c("with", "contributions", "from", "Curt"),
                      family = "Seeliger",
                      role = "aut",
                      email = "Seeliger.Curt@epamail.epa.gov"),
               person(given = "Henrik",
                      family = "Bengtsson.",
                      role = "aut",
                      email = "hb@maths.lth.se"))
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘David Brahm <brahm@alum.mit.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "David",
                      family = "Brahm",
                      role = c("aut", "cre"),
                
...[truncated]...
,
                      email = "Seeliger.Curt@epamail.epa.gov"),
               person(given = "Henrik",
                      family = "Bengtsson.",
                      role = "aut",
                      email = "hb@maths.lth.se"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘David Brahm <brahm@alum.mit.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "David",
                      family = "Brahm",
                      role = c("aut", "cre"),
                
...[truncated]...
,
                      email = "Seeliger.Curt@epamail.epa.gov"),
               person(given = "Henrik",
                      family = "Bengtsson.",
                      role = "aut",
                      email = "hb@maths.lth.se"))
as necessary.

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

504

Files

22

Compiled share

0%

Has compiled src

No

Language breakdown

R 251 (49.8%)Docs 253 (50.2%)

API

Exported functions

8

Internal functions

0

Recent export changes

v2.4+8 fetchSudokuUK, generateSudoku, hintSudoku +5 more  −1 pattern:.
v2.2+1 pattern:.

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

60%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL

License flags

not SPDX, not OSI

History

Versions

8

First release

2006-01-05

Latest release

2022-04-19

Avg cadence

521 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v1.2: 119 LOCv2.0: 504 LOCv2.1: 504 LOCv2.2: 503 LOCv2.4: 503 LOCv2.5: 503 LOCv2.6: 503 LOCv2.8: 504 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies sudokuAlt sudoku

Version History

9 tracked
new 2.8 Mar 10, 2026
updated 2.8 ← 2.6 diff Apr 18, 2022
updated 2.6 ← 2.5 diff Jun 30, 2014
updated 2.5 ← 2.4 diff Jan 25, 2013
updated 2.4 ← 2.2 diff Oct 31, 2012
updated 2.2 ← 2.1 diff Oct 28, 2012
updated 2.1 ← 2.0 diff Nov 10, 2008
updated 2.0 ← 1.2 diff Jan 29, 2006
new 1.2 Jan 5, 2006