To cite package ‘magicrect’ in publications use:

Ray A (2026). magicrect: Construct Magic Rectangles and Nearly Magic Rectangles. R package version 1.0.0, https://github.com/arijitray2/magic-rectangles.

Corresponding BibTeX entry:

  @Manual{,
    title = {magicrect: Construct Magic Rectangles and Nearly Magic
      Rectangles},
    author = {Arijit Ray},
    year = {2026},
    note = {R package version 1.0.0},
    url = {https://github.com/arijitray2/magic-rectangles},
  }