{
  "_id": "6a12918dacfb0bcc41d0afa8",
  "Package": "YangHuiMagic",
  "Type": "Package",
  "Title": "A Generalization of Yang Hui's Magic Squares",
  "Version": "1.1",
  "Authors@R": "c(\nperson(given = \"Chun-Xiao\", family = \"Nie\",\nemail = \"niechunxiao2009@163.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7790-0803\"))\n)",
  "Description": "The generalized construction methods for magic squares,\ninspired by the ancient Chinese mathematician Yang Hui's\nclassical work \"Xu Gu Zhai Qi Suan Fa\". These methods can\nconstruct 4n-order magic squares and 2(2n+1)-order magic\nsquares.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 05:47:35 UTC",
    "User": "root"
  },
  "Author": "Chun-Xiao Nie [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7790-0803>)",
  "Maintainer": "Chun-Xiao Nie <niechunxiao2009@163.com>",
  "Repository": "https://niechunxiao.r-universe.dev",
  "Date/Publication": "2026-03-23 10:00:22 UTC",
  "RemoteUrl": "https://github.com/cran/YangHuiMagic",
  "RemoteRef": "HEAD",
  "RemoteSha": "df2efa151b8b5736eb80c50356d120f30b5eb209",
  "MD5sum": "2bfcc86fa14b5514aa3720cf5833f2b0",
  "_user": "niechunxiao",
  "_type": "src",
  "_file": "YangHuiMagic_1.1.tar.gz",
  "_fileid": "332ae5db6a456fc37a535649548be4b74b03f6dd29100e84a6fb04958bb81068",
  "_filesize": 102331,
  "_sha256": "332ae5db6a456fc37a535649548be4b74b03f6dd29100e84a6fb04958bb81068",
  "_created": "2026-05-24T05:47:35.000Z",
  "_published": "2026-05-24T05:50:05.409Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77575164788,
      "time": 102,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182628569"
    },
    {
      "job": 77575164803,
      "time": 93,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182627659"
    },
    {
      "job": 77575164817,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182628062"
    },
    {
      "job": 77575164812,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182626949"
    },
    {
      "job": 77575007812,
      "time": 155,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182617997"
    },
    {
      "job": 77575164775,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182627859"
    },
    {
      "job": 77575164818,
      "time": 74,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182626000"
    },
    {
      "job": 77575164814,
      "time": 52,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182623526"
    },
    {
      "job": 77575164819,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182627033"
    }
  ],
  "_buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/YangHuiMagic",
  "_commit": {
    "id": "df2efa151b8b5736eb80c50356d120f30b5eb209",
    "author": "Chun-Xiao Nie <niechunxiao2009@163.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1\n",
    "time": 1774260022
  },
  "_maintainer": {
    "name": "Chun-Xiao Nie",
    "email": "niechunxiao2009@163.com",
    "login": "niechunxiao",
    "description": "",
    "uuid": 41845066,
    "orcid": "0000-0002-7790-0803"
  },
  "_registered": true,
  "_dependencies": [],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-13",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1",
      "date": "2026-03-23"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "niechunxiao",
      "count": 1,
      "uuid": 41845066
    }
  ],
  "_userbio": {
    "uuid": 41845066,
    "type": "user",
    "name": "Chun-Xiao Nie"
  },
  "_downloads": {
    "count": 200,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/YangHuiMagic"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/YangHuiMagic.html",
    "manual.pdf"
  ],
  "_realowner": "niechunxiao",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1",
      "date": "2026-03-23"
    }
  ],
  "_exports": [
    "construct_M",
    "generate_A11",
    "generate_symmetric_L",
    "is_magic_square",
    "odd_magic_square",
    "transform_M",
    "YangConway",
    "YangRamanujan"
  ],
  "_help": [
    {
      "page": "construct_M",
      "title": "Construct the initial matrix M (satisfying the form of Matrix (8))",
      "topics": [
        "construct_M"
      ]
    },
    {
      "page": "generate_A11",
      "title": "Generate the 2n x 2n A11 matrix (arithmetic progression form)",
      "topics": [
        "generate_A11"
      ]
    },
    {
      "page": "generate_symmetric_L",
      "title": "Generate a symmetric L set satisfying the condition (first n numbers and their complements)",
      "topics": [
        "generate_symmetric_L"
      ]
    },
    {
      "page": "is_magic_square",
      "title": "Verify magic square properties",
      "topics": [
        "is_magic_square"
      ]
    },
    {
      "page": "odd_magic_square",
      "title": "Construct odd order magic square (Siamese method)",
      "topics": [
        "odd_magic_square"
      ]
    },
    {
      "page": "transform_M",
      "title": "Apply row left-right flips and column up-down flips to a matrix",
      "topics": [
        "transform_M"
      ]
    },
    {
      "page": "YangConway",
      "title": "Construct singly even order magic square (Yang-Hui Conway generalization)",
      "topics": [
        "YangConway"
      ]
    },
    {
      "page": "YangRamanujan",
      "title": "Construct doubly even order magic square (Yang-Hui · Dürer · Ramanujan inspired)",
      "topics": [
        "YangRamanujan"
      ]
    }
  ],
  "_rundeps": [],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "yanghuimagic",
  "_universes": [
    "niechunxiao"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-24T05:49:24.000Z",
      "distro": "noble",
      "commit": "df2efa151b8b5736eb80c50356d120f30b5eb209",
      "fileid": "70a207aca6d2f836edc7ed6c31d470c3e46493276ecb4f8ac2ab1a5ec8b29218",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-05-24T05:49:17.000Z",
      "distro": "noble",
      "commit": "df2efa151b8b5736eb80c50356d120f30b5eb209",
      "fileid": "155303ef18a77d4e1c915629b787e668f0edeffa73295eda54cb36b639a20464",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-05-24T05:49:23.000Z",
      "commit": "df2efa151b8b5736eb80c50356d120f30b5eb209",
      "fileid": "d782d05d9151d8166ed0bf1142357e1b24e10a8942c27b491d4852f9e45d5622",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1",
      "date": "2026-05-24T05:49:12.000Z",
      "commit": "df2efa151b8b5736eb80c50356d120f30b5eb209",
      "fileid": "e5df073dc6572001669673663b134999c0a961cf4bc51cc031bd56b2e59375ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-05-24T05:49:26.000Z",
      "commit": "df2efa151b8b5736eb80c50356d120f30b5eb209",
      "fileid": "f160df474ac9b7f0c6d77471e2494116ab0976ce91ea2e1d01e4e4b783888282",
      "status": "success",
      "buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-05-24T05:48:58.000Z",
      "commit": "df2efa151b8b5736eb80c50356d120f30b5eb209",
      "fileid": "f02adb626b14c4da614d11983bf1bb0726fe1562b8bc165e617d8f5ff5c19882",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-05-24T05:48:33.000Z",
      "commit": "df2efa151b8b5736eb80c50356d120f30b5eb209",
      "fileid": "dc902baff78a8c0ad5af64415bba716179b8705aa89425d148762232422e402c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-05-24T05:49:07.000Z",
      "commit": "df2efa151b8b5736eb80c50356d120f30b5eb209",
      "fileid": "5fb4bf3e1a25470d854a172b710139bf0b7ec272c902f073483b2bf25f109098",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/niechunxiao/actions/runs/26353213889"
    }
  ]
}