{
  "_id": "6a1562b7acfb0bcc41d6137a",
  "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-05-26 09:03:05 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",
  "MD5sum": "06ccd9949ff6149a3866ea77715c5054",
  "_user": "daifengstat",
  "_type": "src",
  "_file": "PottsUtils_0.3-3.1.tar.gz",
  "_fileid": "b186bde651bbd5fb813291c468ec1dafa53c9d2af445b266e80e6cd0358ca16d",
  "_filesize": 593153,
  "_sha256": "b186bde651bbd5fb813291c468ec1dafa53c9d2af445b266e80e6cd0358ca16d",
  "_created": "2026-05-26T09:03:05.000Z",
  "_published": "2026-05-26T09:07:03.390Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77841649237,
      "time": 129,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213030383"
    },
    {
      "job": 77841649242,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213031131"
    },
    {
      "job": 77841649420,
      "time": 131,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213030766"
    },
    {
      "job": 77841649252,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213031242"
    },
    {
      "job": 77841649251,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213028040"
    },
    {
      "job": 77841649194,
      "time": 166,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213042224"
    },
    {
      "job": 77841649184,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213021948"
    },
    {
      "job": 77841649188,
      "time": 190,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213050478"
    },
    {
      "job": 77841066487,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7212985208"
    },
    {
      "job": 77841649290,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213023330"
    },
    {
      "job": 77841649181,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7213021318"
    },
    {
      "job": 77841649273,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7213021417"
    },
    {
      "job": 77841649179,
      "time": 106,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7213022082"
    }
  ],
  "_buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_downloads": {
    "count": 608,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PottsUtils"
  },
  "_searchresults": 14,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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": [],
      "created": "2014-02-24",
      "modified": "2014-02-24",
      "commits": 1
    }
  ],
  "_score": 2.146128035678238,
  "_indexed": true,
  "_nocasepkg": "pottsutils",
  "_universes": [
    "daifengstat"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:05:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "ee581346e889ec80c56b23d849ea8106489f467f4d58ff2eb92c72b5aa2749ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:05:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "5cf9a1a2acf068fecb6e08b858d3405ded7c2f509994bcb6fff5b291445cbc04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:05:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "b4789deb418f68eb2a7d5cf9efe0c1d68273684b582de6b850455440863f40a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:05:10.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "bfa4f97f3d5e027cfeb2da7be2684a254623b8ff842780a1bd6c516ca67a3099",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:05:04.000Z",
      "arch": "aarch64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "75b0fd7738201520c007b6f75302917a07a06bfac02868e56392d73da02207f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:05:29.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "41e619a2b3db62bc9298103ffb53ea570c57099d178b489660bb034e9cb7ba14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:04:48.000Z",
      "arch": "aarch64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "9e501f55ff0a0302408814255263ca3a09a2a1afaa1eb7fc327b7b49c6b7ca56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:05:48.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "8d2f36cd7b0370bfeaa8e139658dd1f53bd11188b2172b91bde599e50b7f19d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:05:16.000Z",
      "arch": "emscripten",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "714d5308043d49f2462ff79782c52cdefc97ef9283b44682999e82771aff250c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:04:26.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "e6d7d4e94d7ddc59d8b8a8f1a94d264cff04378cb2ba583a52bdbaef9645baac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:04:21.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "fb315788c10f22f30605b3f3d0dc76fac66320e9f83fdfa7011668f710ccbe2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3-3.1",
      "date": "2026-05-26T09:04:28.000Z",
      "arch": "x86_64",
      "commit": "71cee0b32271f4bbde1fd01fb4f60e9ca180592f",
      "fileid": "8d94589d0bcda38e276ea67d02ba3b3c9bba7fa8d5542d1531a86c66fe0db5a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/daifengstat/actions/runs/26442725373"
    }
  ]
}