Skip to content

magic

1.6-1

Create and Investigate Magic Squares

44packages depend
331.8Kdownloads / year
62.0%test coverage
11/13checks pass

Overview

About
Maintained by Robin K. S. HankinFirst published 2003-11-2426 releasesCRAN page ↗GitHub ↗

A collection of functions for the manipulation and analysis of arbitrarily dimensioned arrays. The original motivation for the package was the development of efficient, vectorized algorithms for the creation and investigation of magic squares and high-dimensional magic hypercubes.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.1 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.20
62.0%
Coverage · measured lines
1
Dependencies · direct
Check history
  • NOTE2026-06-27
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-14
    10 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 181 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
37%

Downloads

331.8K
CRAN downloads in the past year
Rank #743 · ~909/day · ~27.6K/mo
Daily download trend is not available in this view yet.
21.5K30 days
70.9K90 days
331.8K1 year
Compare downloads with other packages →
Also on2.4K r2u267 autocran5.2K conda_forge208 c2d4u

Repository

Repository
4Stars
3Forks
3Open issues
0Open PRs
0Releases
76Commits
2Contributors
76 commits · Last activity 2026-03-14 · 0% stars, 30d

Stars over time

2025-07-14 · 32026-07-07 · 4

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/robinhankin/magic on 2026-08-09.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (2)
R >= 2.10abind
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Listed in earlier versions (1)
no longer listed · 1.6-0 to 1.6-1
Package Timeline

26 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
  • R
    R 4.3.0 released · 2023-04-21
  • 1.6-1Latest
    2022-11-16 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.6-0
    2022-02-09 · diff ↗
  • 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
  • 1.5-9
    2018-09-17 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.5-8
    2018-01-26 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
Show 42 earlier events
  • R
    R 3.1.0 released · 2014-04-10
  • 1.5-6
    2013-11-20 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.5-4
    2013-01-21 · diff ↗
  • 1.5-2
    2012-07-03 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.5-1
    2011-12-27 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • 1.4-6
    2009-10-16 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 1.4-4
    2009-03-30 · diff ↗
  • 1.4-3
    2009-01-22 · diff ↗
  • 1.4-2
    2009-01-20 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • 1.3-34
    2008-08-22 · diff ↗
  • 1.3-33
    2008-05-13 · diff ↗
  • R
    R 2.7.0 released · 2008-04-22
  • 1.3-31
    2007-12-21 · diff ↗
  • 1.3-29
    2007-10-04 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • 1.3-28
    2007-05-10 · diff ↗
  • R
    R 2.5.0 released · 2007-04-24
  • 1.3-27
    2007-04-13 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • 1.3-24
    2006-04-07 · diff ↗
  • 1.3-20
    2005-11-29 · diff ↗
  • R
    R 2.2.0 released · 2005-10-06
  • 1.3-15
    2005-07-21 · diff ↗
  • 1.3-14
    2005-06-03 · diff ↗
  • R
    R 2.1.0 released · 2005-04-18
  • 1.3-12
    2005-03-26 · diff ↗
  • R
    R 2.0.0 released · 2004-10-04
  • 1.2
    2004-09-15 · diff ↗
  • 1.1
    2004-04-22 · diff ↗
  • R
    R 1.9.0 released · 2004-04-12
  • 1.0
    2003-11-24
  • R
    R 1.8.0 released · 2003-10-08

Package metadata

First published
2003-11-24
Total releases
26 / 23 yrs
License
GPL-2 OSI
Minimum R
≥ 2.10
Bundled data
3.5 KB / 7 files
Download size
186 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("magic")
Hankin, R. K. S. (2022). magic: Create and Investigate Magic Squares (Version 1.6-1) [Computer software]. https://doi.org/10.32614/CRAN.package.magic

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 magic version 1.6-1 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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