{
  "_id": "6a1f295bb401979e73423f42",
  "Type": "Package",
  "Package": "ernm",
  "Title": "Exponential-Family Random Network Models",
  "Version": "1.0.5",
  "Date": "2026-05-15",
  "Authors@R": "c(person(given = \"Ian\",\nfamily = \"Fellows\",\nrole = c(\"aut\")),\nperson(given = \"Duncan\",\nfamily = \"Clark\",\nrole = c(\"aut\", \"cre\"),\nemail = \"dac6@williams.edu\"))",
  "Description": "Estimation of fully and partially observed\nExponential-Family Random Network Models (ERNM).\nExponential-family Random Graph Models (ERGM) and Gibbs Fields\nare special cases of ERNMs and can also be estimated with the\npackage. Please cite Fellows and Handcock (2012),\n\"Exponential-family Random Network Models\" available at\n<doi:10.48550/arXiv.1208.0121>.",
  "License": "LGPL-2.1",
  "Copyright": "2014-2025 Ian Fellows",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "LazyLoad": "yes",
  "RcppModules": "ernm",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://duncan-clark.r-universe.dev",
  "Date/Publication": "2026-05-15 19:00:44 UTC",
  "RemoteUrl": "https://github.com/duncan-clark/ernm",
  "RemoteRef": "HEAD",
  "RemoteSha": "db20c58520e9bce73429db89ce569593f4a54e52",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-15 20:22:16 UTC",
    "User": "root"
  },
  "Author": "Ian Fellows [aut],\nDuncan Clark [aut, cre]",
  "Maintainer": "Duncan Clark <dac6@williams.edu>",
  "MD5sum": "0f091597bb30469c23397d4c48161ed8",
  "_user": "duncan-clark",
  "_type": "src",
  "_file": "ernm_1.0.5.tar.gz",
  "_fileid": "a1564e0732c688a698383f19c6c58d329a67333d5c42d4576c68c8fb0bfc5d24",
  "_filesize": 873714,
  "_sha256": "a1564e0732c688a698383f19c6c58d329a67333d5c42d4576c68c8fb0bfc5d24",
  "_created": "2026-05-15T20:22:16.000Z",
  "_published": "2026-06-02T19:04:59.103Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79150051592,
      "time": 253,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7025887742"
    },
    {
      "job": 79150051811,
      "time": 309,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7025902692"
    },
    {
      "job": 79150052289,
      "time": 270,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7025892017"
    },
    {
      "job": 79150052333,
      "time": 306,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7025901510"
    },
    {
      "job": 79150051836,
      "time": 176,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7025865976"
    },
    {
      "job": 79150052392,
      "time": 436,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7025938530"
    },
    {
      "job": 79150051704,
      "time": 212,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7025875506"
    },
    {
      "job": 79150052104,
      "time": 385,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7025924202"
    },
    {
      "job": 79150050851,
      "time": 321,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7025818280"
    },
    {
      "job": 79150050866,
      "time": 161,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367250249"
    },
    {
      "job": 79150051927,
      "time": 234,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7030621110"
    },
    {
      "job": 79150051835,
      "time": 302,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7030626839"
    },
    {
      "job": 79150052044,
      "time": 296,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7025899291"
    }
  ],
  "_buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/duncan-clark/ernm",
  "_commit": {
    "id": "db20c58520e9bce73429db89ce569593f4a54e52",
    "author": "duncan-clark <duncan-clark@hotmail.co.uk>",
    "committer": "duncan-clark <duncan-clark@hotmail.co.uk>",
    "message": "Prepare CRAN submission 1.0.5\n\nUpdate the CRAN check workflow and package metadata while tightening GOF histogram behavior for model comparison.\n",
    "time": 1778871644
  },
  "_maintainer": {
    "name": "Duncan Clark",
    "email": "dac6@williams.edu",
    "login": "duncan-clark",
    "linkedin": "in/duncan-clark-886652a9",
    "uuid": 31967025
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "network",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "Depends"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "moments",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "trust",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "duncan-clark",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 4
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2025-41",
      "n": 3
    },
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "duncan-clark",
      "count": 141,
      "uuid": 31967025
    },
    {
      "user": "ifellows",
      "count": 8,
      "uuid": 562061
    },
    {
      "user": "handcock",
      "count": 2,
      "uuid": 2207202
    }
  ],
  "_userbio": {
    "uuid": 31967025,
    "type": "user",
    "name": "Duncan Clark",
    "description": "💼 Assist. Prof, Williams College\r\n📊 Statistician, Data Scientist & Cyclist  \r\n📚 UCL Maths 2015  \r\n🎓 UCLA Statistics PhD 2022  \r\n🔍 Meta 2023 Lay Off Victim"
  },
  "_downloads": {
    "count": 569,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ernm"
  },
  "_devurl": "https://github.com/duncan-clark/ernm",
  "_searchresults": 16,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ernm.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/duncan-clark/ernm",
  "_realowner": "duncan-clark",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-04-10"
    },
    {
      "version": "1.0.1",
      "date": "2025-07-22"
    },
    {
      "version": "1.0.2",
      "date": "2025-08-01"
    },
    {
      "version": "1.0.3",
      "date": "2025-10-06"
    },
    {
      "version": "1.0.4",
      "date": "2025-10-15"
    }
  ],
  "_exports": [
    "_ernm_initStats",
    "_ernm_initToggles",
    "_rcpp_module_boot_ernm",
    "as.BinaryNet",
    "as.network.Rcpp_DirectedNet",
    "as.network.Rcpp_UndirectedNet",
    "calculateStatistics",
    "coef.ernm",
    "createCppModel",
    "createCppSampler",
    "DirectedMetropolisHastings",
    "DirectedModel",
    "DirectedNet",
    "DirectedTaperedModel",
    "ernm",
    "ernm_gof",
    "ernmFit",
    "ernmPackageSkeleton",
    "fullErnmLikelihood",
    "FullErnmModel",
    "initLatent",
    "logLik.ernm",
    "marErnmLikelihood",
    "mcmcEss",
    "mcmcse",
    "MissingErnmModel",
    "plot.ernm",
    "plot.Rcpp_DirectedNet",
    "plot.Rcpp_UndirectedNet",
    "print.ernm",
    "print.ErnmSummary",
    "register_rcpp_net_methods",
    "registerDirectedStatistic",
    "registerUndirectedStatistic",
    "runErnmCppTests",
    "simulateStatistics",
    "summary.ernm",
    "taperedErnmLikelihood",
    "UndirectedCdSampler",
    "UndirectedGibbsCdSampler",
    "UndirectedGibbsCdSampler2",
    "UndirectedMetropolisHastings",
    "UndirectedModel",
    "UndirectedNet",
    "UndirectedTaperedModel",
    "vcov.ernm"
  ],
  "_datasets": [
    {
      "name": "dutch_school",
      "title": "Dutch School Data",
      "object": "dutch_school",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "samplike",
      "title": "Sampson's Monks Data",
      "object": "samplike",
      "class": [
        "network"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "BinaryNet",
      "title": "Convert an Rcpp_UndirectedNet to a network object",
      "topics": [
        "as.BinaryNet",
        "as.network.Rcpp_DirectedNet",
        "as.network.Rcpp_UndirectedNet",
        "BinaryNet",
        "DirectedNet",
        "plot.Rcpp_DirectedNet",
        "plot.Rcpp_UndirectedNet",
        "Rcpp_DirectedNet-class",
        "Rcpp_UndirectedNet-class",
        "UndirectedNet"
      ]
    },
    {
      "page": "calculateStatistics",
      "title": "Calculate network statistics",
      "topics": [
        "calculateStatistics"
      ]
    },
    {
      "page": "coef.ernm",
      "title": "Access ERNM parameters",
      "topics": [
        "coef.ernm"
      ]
    },
    {
      "page": "createCppModel",
      "title": "Creates a C++ representation of an ERNM model",
      "topics": [
        "createCppModel"
      ]
    },
    {
      "page": "createCppSampler",
      "title": "Create a C++ MCMC sampler",
      "topics": [
        "createCppSampler"
      ]
    },
    {
      "page": "DirectedNet-class",
      "title": "DirectedNet class",
      "topics": [
        "DirectedNet-class"
      ]
    },
    {
      "page": "dutch_school",
      "title": "Dutch School Data",
      "topics": [
        "dutch_school"
      ]
    },
    {
      "page": "ernm",
      "title": "Fits an ERNM model",
      "topics": [
        "ernm"
      ]
    },
    {
      "page": "ernm_gof",
      "title": "Goodness of fit for ERNM model",
      "topics": [
        "ernm_gof"
      ]
    },
    {
      "page": "ernm-formula",
      "title": "ERNM formula",
      "topics": [
        "ernm-formula"
      ]
    },
    {
      "page": "ernm-terms",
      "title": "ERNM model terms",
      "topics": [
        "ernm-terms"
      ]
    },
    {
      "page": "ernmFit",
      "title": "Fit an ernm",
      "topics": [
        "ernmFit"
      ]
    },
    {
      "page": "ernmPackageSkeleton",
      "title": "Create an ERNM package skeleton",
      "topics": [
        "ernmPackageSkeleton"
      ]
    },
    {
      "page": "extract-methods",
      "title": "Subsetting and assignment for ernm network objects",
      "topics": [
        "extract-methods",
        "[,DirectedNet-method",
        "[,Rcpp_DirectedNet-method",
        "[,Rcpp_UndirectedNet-method",
        "[,UndirectedNet-method",
        "[<-,DirectedNet-method",
        "[<-,Rcpp_DirectedNet-method",
        "[<-,Rcpp_UndirectedNet-method",
        "[<-,UndirectedNet-method"
      ]
    },
    {
      "page": "fullErnmLikelihood",
      "title": "Likelihood for a fully observed ernm",
      "topics": [
        "fullErnmLikelihood"
      ]
    },
    {
      "page": "FullErnmModel",
      "title": "creates an ERNM likelihood model",
      "topics": [
        "FullErnmModel"
      ]
    },
    {
      "page": "logLik.ernm",
      "title": "MCMC approximate log-likelihood",
      "topics": [
        "logLik.ernm"
      ]
    },
    {
      "page": "marErnmLikelihood",
      "title": "Likelihood for an ernm with missing data",
      "topics": [
        "marErnmLikelihood"
      ]
    },
    {
      "page": "mcmcEss",
      "title": "MCMC effective sample size",
      "topics": [
        "mcmcEss"
      ]
    },
    {
      "page": "mcmcse",
      "title": "MCMC standard error by batch",
      "topics": [
        "mcmcse"
      ]
    },
    {
      "page": "MissingErnmModel",
      "title": "Creates an ERNM likelihood model with missing data",
      "topics": [
        "MissingErnmModel"
      ]
    },
    {
      "page": "plot.ernm",
      "title": "Plot an ernm object",
      "topics": [
        "plot.ernm"
      ]
    },
    {
      "page": "print.ernm",
      "title": "Print ernm object",
      "topics": [
        "print.ernm"
      ]
    },
    {
      "page": "print.ErnmSummary",
      "title": "Print a ERNM summary object",
      "topics": [
        "print.ErnmSummary"
      ]
    },
    {
      "page": "samplike",
      "title": "Sampson's Monks Data",
      "topics": [
        "samplike",
        "sampson"
      ]
    },
    {
      "page": "simulateStatistics",
      "title": "Simulate statistics",
      "topics": [
        "simulateStatistics"
      ]
    },
    {
      "page": "summary.ernm",
      "title": "Summary for ernm object",
      "topics": [
        "summary.ernm"
      ]
    },
    {
      "page": "taperedErnmLikelihood",
      "title": "Ernm likelihood for a TaperedModel",
      "topics": [
        "taperedErnmLikelihood"
      ]
    },
    {
      "page": "UndirectedNet-class",
      "title": "UndirectedNet class",
      "topics": [
        "UndirectedNet-class"
      ]
    },
    {
      "page": "vcov.ernm",
      "title": "Parameter covariance matrix",
      "topics": [
        "vcov.ernm"
      ]
    }
  ],
  "_readme": "https://github.com/duncan-clark/ernm/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "coda",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "moments",
    "network",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "statnet.common",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "trust",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_score": 4.049218022670182,
  "_indexed": true,
  "_nocasepkg": "ernm",
  "_universes": [
    "duncan-clark"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-05-15T20:26:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "8c6c143b17abd672d7da7205273935795253b2afe8ffe7378e063cb60becf760",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-05-15T20:26:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "3bfddab1ad7b3994544de82bdfb005e89c5a4254063b3bd2909f3d6b5af3b150",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-05-15T20:26:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "e91e2264a8dba3caf2da29f2edc056c2a207b767b4446aad27457c34deb3edbd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-05-15T20:26:57.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "a887e609d4bb9b3a9c8e6c71ee32fc7df6fa86a195385a08374b83edeb5ef41c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-05-15T20:25:28.000Z",
      "arch": "aarch64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "c8bf15734b55c2f268e5667930c9e810ac0103b25355d06cae6eba99caac3b15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-05-15T20:27:53.000Z",
      "arch": "x86_64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "dc03d8d730efbbe7bc73692b6f639820a53955bec3205d2643ce1d427fca8204",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-05-15T20:25:30.000Z",
      "arch": "aarch64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "932fb8b82038f695f05e6f36345cf9ac65d9ecdad8602cc64b09efcd7f93cc70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-05-15T20:26:52.000Z",
      "arch": "x86_64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "b6f55b2750528bbce25de5d8c0dd053e8245e895299ec1dcb462aeafbd6de523",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-05-16T04:56:36.000Z",
      "arch": "x86_64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "23ce10da57451ca8901874006fbb887ab2a7597f0b79863d438f9f8ff6c7fffb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-05-16T04:56:51.000Z",
      "arch": "x86_64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "d93b24a3afe9c6e83992cbce129b17b9bf8fc019590fa4f324a21367cfcb1e5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-05-15T20:25:16.000Z",
      "arch": "x86_64",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "e2e1c210a674f2a5cf04e7b211dd9f89e0d4a55af5e397ae1c5441af0e5a9e36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-06-02T19:03:44.000Z",
      "arch": "emscripten",
      "commit": "db20c58520e9bce73429db89ce569593f4a54e52",
      "fileid": "103050a866267427a12d77cde6f60d09b7d8d18973843ab34d07a65423fa8cd4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/duncan-clark/actions/runs/25939372444"
    }
  ]
}