Skip to content

lightsout

0.3.2

Implementation of the 'Lights Out' Puzzle Game

0packages depend
2.2Kdownloads / year
94.0%test coverage
12/13checks pass

Overview

About
Maintained by Dean AttaliFirst published 2016-01-045 releasesCRAN page ↗GitHub ↗

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/.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.75
94.0%
Coverage · measured lines
93%
Documentation · exports
5
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,457 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
62%
References docs
0%

Downloads

2.2K
CRAN downloads in the past year
Rank #20,840 · ~6/day · ~186/mo
Daily download trend is not available in this view yet.
17930 days
53690 days
2.2K1 year
Compare downloads with other packages →
Also on95 r2u3 autocran

Repository

Repository
46Stars
17Forks
0Open issues
0Open PRs
3Releases
46Commits
1Contributors
46 commits · Last activity 2023-08-21 · +2.2% stars, 30d

Stars over time

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

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/daattali/lightsout on 2026-07-31.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Show all practices
Governance and community (1)
Funding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.0.0
Imports (5)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

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

  • 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
    2023-08-21 · current release · diff ↗
  • 0.3.1
    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
    2016-07-26 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.2.1
    2016-01-06 · diff ↗
  • 0.2
    2016-01-04
Show 1 earlier events
  • 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
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