{
  "_id": "6a59b56d09eb0996dd68cb6f",
  "Package": "PottsUtils",
  "Title": "Utility Functions of the Potts Models",
  "Version": "0.3-3.1",
  "Authors@R": "c(person(given = \"Dai\",\nfamily = \"Feng\",\nrole = c(\"aut\", \"cre\"),\nemail = \"daifeng.stat@gmail.com\"),\nperson(given = \"Luke\",\nfamily = \"Tierney\",\nrole = \"ctb\"))",
  "Description": "There are three sets of functions. The first produces\nbasic properties of a graph and generates samples from\nmultinomial distributions to facilitate the simulation\nfunctions (they maybe used for other purposes as well). The\nsecond provides various simulation functions for a Potts model\nin Potts, R. B. (1952) <doi:10.1017/S0305004100027419>. The\nthird currently includes only one function which computes the\nnormalizing constant of a Potts model based on simulation\nresults.",
  "License": "GPL-2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-17 04:49:17 UTC",
    "User": "root"
  },
  "Author": "Dai Feng [aut, cre], Luke Tierney [ctb]",
  "Maintainer": "Dai Feng <daifeng.stat@gmail.com>",
  "Config/pak/sysreqs": "jags libicu-dev",
  "Repository": "https://daifengstat.r-universe.dev",
  "Date/Publication": "2024-11-11 15:14:24 UTC",
  "RemoteUrl": "https://github.com/cran/PottsUtils",
  "RemoteRef": "HEAD",
  "RemoteSha": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
  "_user": "daifengstat",
  "_type": "src",
  "_file": "PottsUtils_0.3-3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/8cc9193c67c397e3e6aa438f0dfc1523e2efc528b6990f6dbfbea32618276b46",
  "_filesize": 594764,
  "_sha256": "8cc9193c67c397e3e6aa438f0dfc1523e2efc528b6990f6dbfbea32618276b46",
  "_expires": "2026-10-25T04:54:03.000Z",
  "_created": "2026-07-17T04:49:17.000Z",
  "_published": "2026-07-17T04:54:05.619Z",
  "_jobs": [
    {
      "job": 87807427784,
      "time": 151,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8397388596"
    },
    {
      "job": 87807427774,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8397386026"
    },
    {
      "job": 87807427811,
      "time": 147,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8397387724"
    },
    {
      "job": 87807427771,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8397385904"
    },
    {
      "job": 87807427804,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8397374141"
    },
    {
      "job": 87807427756,
      "time": 201,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8397399124"
    },
    {
      "job": 87807427772,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8397376721"
    },
    {
      "job": 87807427788,
      "time": 234,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8397406245"
    },
    {
      "job": 87806876255,
      "time": 283,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8397353464"
    },
    {
      "job": 87807427770,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8397378389"
    },
    {
      "job": 87807427777,
      "time": 110,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8397379420"
    },
    {
      "job": 87807427762,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8397380209"
    },
    {
      "job": 87807427760,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8397376129"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439",
  "_status": "success",
  "_upstream": "https://github.com/cran/PottsUtils",
  "_commit": {
    "id": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
    "author": "Dai Feng <daifeng.stat@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3-3.1\n",
    "time": 1731338064
  },
  "_maintainer": {
    "name": "Dai Feng",
    "email": "daifeng.stat@gmail.com",
    "login": "daifengstat",
    "description": "",
    "uuid": 49561915
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.2",
      "role": "Depends"
    },
    {
      "package": "miscF",
      "version": ">= 0.1-4",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "daifengstat",
      "count": 8,
      "uuid": 49561915
    }
  ],
  "_userbio": {
    "uuid": 49561915,
    "type": "user",
    "name": "daifengstat",
    "followers": 0
  },
  "_downloads": {
    "count": 491,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PottsUtils"
  },
  "_searchresults": 15,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/PottsUtils.html",
    "manual.pdf"
  ],
  "_realowner": "daifengstat",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2-1",
      "date": "2011-04-01"
    },
    {
      "version": "0.2-2",
      "date": "2011-04-05"
    },
    {
      "version": "0.2-3",
      "date": "2014-02-24"
    },
    {
      "version": "0.3-0",
      "date": "2014-06-16"
    },
    {
      "version": "0.3-1",
      "date": "2014-07-21"
    },
    {
      "version": "0.3-2",
      "date": "2014-08-03"
    },
    {
      "version": "0.3-3",
      "date": "2018-02-18"
    },
    {
      "version": "0.3-3.1",
      "date": "2024-11-14"
    }
  ],
  "_exports": [
    "BlocksGibbs",
    "getBlocks",
    "getConfs",
    "getEdges",
    "getNC",
    "getNeighbors",
    "getPatches",
    "getWeights",
    "rPotts1",
    "SW",
    "Wolff"
  ],
  "_help": [
    {
      "page": "BlocksGibbs",
      "title": "Generate Random Samples from a Potts Model Using the Checkerboard Idea",
      "topics": [
        "BlocksGibbs"
      ]
    },
    {
      "page": "getBlocks",
      "title": "Get Blocks of a Graph",
      "topics": [
        "getBlocks"
      ]
    },
    {
      "page": "getConfs",
      "title": "Generate Configurations of a Graph",
      "topics": [
        "getConfs"
      ]
    },
    {
      "page": "getEdges",
      "title": "Get Edges of a Graph",
      "topics": [
        "getEdges"
      ]
    },
    {
      "page": "getNC",
      "title": "Calculate the Normalizing Constant of a Simple Potts Model",
      "topics": [
        "getNC"
      ]
    },
    {
      "page": "getNeighbors",
      "title": "Get Neighbors of All Vertices of a Graph",
      "topics": [
        "getNeighbors"
      ]
    },
    {
      "page": "getPatches",
      "title": "Get Patches of a Graph",
      "topics": [
        "getPatches"
      ]
    },
    {
      "page": "getWeights",
      "title": "Get All Weights of a Graph",
      "topics": [
        "getWeights"
      ]
    },
    {
      "page": "rPotts1",
      "title": "Generate One Random Sample from a Potts Model",
      "topics": [
        "rPotts1"
      ]
    },
    {
      "page": "SW",
      "title": "Generate Random Samples from a Compound Potts Model by the Swendsen-Wang Algorithm",
      "topics": [
        "SW"
      ]
    },
    {
      "page": "Wolff",
      "title": "Generate Random Samples from a Compound Potts Model by the Wolff Algorithm",
      "topics": [
        "Wolff"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "boot",
    "cli",
    "coda",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mcmc",
    "MCMCpack",
    "miscF",
    "mvtnorm",
    "quantreg",
    "R2jags",
    "R2WinBUGS",
    "rjags",
    "rlang",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2604.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Intro.Rnw",
      "filename": "Intro.pdf",
      "title": "Using the PottsUtils Package",
      "engine": "utils::Sweave",
      "headings": [
        "Notation and Terminology",
        "Simulation of the Potts Models",
        "Calculation of the Normalizing Constant",
        "Computational Issues",
        "Future Work"
      ],
      "created": "2014-02-24",
      "modified": "2014-02-24",
      "commits": 1
    }
  ],
  "_score": 2.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "pottsutils",
  "_universes": [
    "daifengstat"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:51:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/95014345c3dd02dd7e576959c82ddacc86b6ee80c79ad4af554bbe2618be7165",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:51:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/4384a6d300ba7a55c013144f6af9e46fe331d2a264a54b864d7816333c1101b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:51:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/d732532a7541162df16abb7579b0f9aa0af23abf27498517a8dba7e29c0ef3d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:51:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/483ab4d21e6b6c0f9afa34d5dcf5fb4fbaaba9f91d3871c4022eb384fc9e50e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:50:47.000Z",
      "arch": "aarch64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/1853063870d8823df3f385b6b6083493c172a02f15328776ee20cda1a7357322",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:52:14.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/db6a7fb4d4901abecbf83663f985c667783139789366d5b2200271f8c59558f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:50:57.000Z",
      "arch": "aarch64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/623826cb22178d4c0032f3e25909961458e1faca6023eec24581ae38415bceff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:52:36.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/34fadaaf264729c1e775d5863970f2fbabb3e7d725969560214c3303feb6d771",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:51:26.000Z",
      "arch": "emscripten",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/5fc56afe5a848e417fd2ac55c1cba4b1e3b00746181b24dd6b587c9b9691b4ed",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:50:47.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/2bfa90ca9aab63f94952bdca7b403e485af3786166bd762aecae8f31b67ae0fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:50:52.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/66ffdffc0f8d65e0329762b6786e890fbe49d0b2c7782ad53cc8abc36e0c2d6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3-3.1",
      "date": "2026-07-17T04:50:34.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "https://r2.ropensci.org/fdcde5bfbe1d6b05ec24229433e765433adddd311dc8ca6b33a1c85770e68a57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/29555587439"
    }
  ]
}