Skip to content

lightsout

0.3.2Package record

Implementation of the 'Lights Out' Puzzle Game

0packages depend
2.3Kdownloads / year
94.0%test coverage
13/13flavors OK

Overview

About

Lights Out is a puzzle game consisting of a grid of lights that are either on or off. Pressing any light will toggle it and its adjacent lights. The goal of the game is to switch all the lights off. This package provides an interface to play the game on different board sizes, both through the command line or with a visual application. Puzzles can also be solved using the automatic solver included. View a demo online at https://daattali.com/shiny/lightsout/.

Changes in 0.3.2
  • More work to keep the package on CRAN

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.2
READMEYes · 1,457 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.3.2Citation fileNoWebsiteYes
Help pages
17 (8 internal)includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
57%
Documented parameters
100%
Return-value docs
62%
Help pages citing references
0%
Vignettes (1)

Downloads

2.3K
CRAN downloads in the past year
Rank #18,679 · ~6/day · ~194/mo
Daily download trend is not available in this view yet.
26030 days
70490 days
2.3K1 year
Compare downloads with other packages →
Also on63 r2u6 autocran

Repository

46Stars
17Forks
0Open issues
0Open PRs
3Releases
46Commits
1Commit identities
46 commits · Last activity 2023-08-20 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
2,704
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-06-26 · 442026-07-22 · 46
PracticesBeta

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

Checks run against github.com/daattali/lightsout on 2026-10-21.

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 (2)
Funding

Funding links: GitHub Sponsors

The repository owner accepts GitHub Sponsors

Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing lightsout adds 31 packages (19 with compiled code, 26 MB of source tarballs). Heaviest: bslib 5.6 MB, promises 3.1 MB, sass 2.9 MB.

Depends (1)
R >= 3.0.0
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.2 (2016)
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.2Latest
    record
    2023-08-21 · current release · diff ↗
  • 0.3.1
    record
    2023-05-24 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.3
    record
    2016-07-26 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.2.1
    record
    2016-01-06 · diff ↗
  • 0.2
    record
    2016-01-04
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-01-04
Total releases
5 / 10 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.0.0
Download size
198 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lightsout")
Attali, D. (2023). lightsout: Implementation of the 'Lights Out' Puzzle Game (Version 0.3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.lightsout

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

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