{
  "_id": "6a1694daacfb0bcc41d7a69e",
  "Package": "NetworkInference",
  "Type": "Package",
  "Title": "Inferring Latent Diffusion Networks",
  "Version": "1.2.5",
  "Date": "2025-11-28",
  "Authors@R": "c(person(\"Fridolin\", \"Linder\", email = \"fridolin.linder@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Bruce\", \"Desmarais\", role = \"ctb\"))",
  "Description": "This is an R implementation of the netinf algorithm (Gomez\nRodriguez, Leskovec, and Krause,\n2010)<doi:10.1145/1835804.1835933>. Given a set of events that\nspread between a set of nodes the algorithm infers the most\nlikely stable diffusion network that is underlying the\ndiffusion process.",
  "License": "MIT + file LICENSE",
  "BugReports": "https://github.com/desmarais-lab/NetworkInference/issues",
  "RoxygenNote": "6.1.1",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Repository": "https://desmarais-lab.r-universe.dev",
  "Date/Publication": "2025-11-28 08:04:37 UTC",
  "RemoteUrl": "https://github.com/desmarais-lab/networkinference",
  "RemoteRef": "HEAD",
  "RemoteSha": "78bee0b546d803223f39b8beda9c1fb831e67741",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-27 06:46:04 UTC",
    "User": "root"
  },
  "Author": "Fridolin Linder [aut, cre],\nBruce Desmarais [ctb]",
  "Maintainer": "Fridolin Linder <fridolin.linder@gmail.com>",
  "MD5sum": "b412303d5fb4dc48da4e1a12846cbd33",
  "_user": "desmarais-lab",
  "_type": "src",
  "_file": "NetworkInference_1.2.5.tar.gz",
  "_fileid": "61d89e49446ab65d84fcee4afdc8f169f2f2bac370403d0219d7b54d5d286308",
  "_filesize": 1023584,
  "_sha256": "61d89e49446ab65d84fcee4afdc8f169f2f2bac370403d0219d7b54d5d286308",
  "_created": "2026-05-27T06:46:04.000Z",
  "_published": "2026-05-27T06:53:14.299Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78022667572,
      "time": 174,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233732193"
    },
    {
      "job": 78022667579,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233728488"
    },
    {
      "job": 78022667562,
      "time": 175,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233732200"
    },
    {
      "job": 78022667532,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233728942"
    },
    {
      "job": 78022667577,
      "time": 185,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233755678"
    },
    {
      "job": 78022667543,
      "time": 358,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233775885"
    },
    {
      "job": 78022667582,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233718425"
    },
    {
      "job": 78022667525,
      "time": 257,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233757328"
    },
    {
      "job": 78022194540,
      "time": 222,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233686849"
    },
    {
      "job": 78022667480,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233719664"
    },
    {
      "job": 78022667548,
      "time": 157,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233727950"
    },
    {
      "job": 78022667530,
      "time": 171,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233731427"
    },
    {
      "job": 78022667551,
      "time": 165,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233729842"
    }
  ],
  "_buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/desmarais-lab/networkinference",
  "_commit": {
    "id": "78bee0b546d803223f39b8beda9c1fb831e67741",
    "author": "Fridolin Linder <fridolin.linder@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #51 from desmarais-lab/cran-cxx17-fix\n\nCran cxx17 fix",
    "time": 1764317077
  },
  "_maintainer": {
    "name": "Fridolin Linder",
    "email": "fridolin.linder@gmail.com",
    "login": "flinder",
    "twitter": "@FridolinLinder",
    "description": "Research Scientist",
    "uuid": 5742213
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.5",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pander",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    }
  ],
  "_owner": "desmarais-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.2.5",
      "date": "2025-11-28"
    }
  ],
  "_topics": [
    "diffusion",
    "diffusion-network",
    "netinf-algorithm",
    "network-analysis",
    "cpp"
  ],
  "_stars": 24,
  "_contributors": [
    {
      "user": "flinder",
      "count": 505,
      "uuid": 5742213
    },
    {
      "user": "bdesmarais",
      "count": 3,
      "uuid": 1447721
    }
  ],
  "_userbio": {
    "uuid": 24824571,
    "type": "organization",
    "name": "Bruce Desmarais's Lab"
  },
  "_downloads": {
    "count": 187,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NetworkInference"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/desmarais-lab/networkinference",
  "_searchresults": 43,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NetworkInference.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/desmarais-lab/networkinference",
  "_realowner": "desmarais-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2017-03-26"
    },
    {
      "version": "1.1.0",
      "date": "2017-06-06"
    },
    {
      "version": "1.1.1",
      "date": "2017-07-18"
    },
    {
      "version": "1.1.2",
      "date": "2017-12-01"
    },
    {
      "version": "1.2.0",
      "date": "2018-06-05"
    },
    {
      "version": "1.2.1",
      "date": "2018-06-07"
    },
    {
      "version": "1.2.2",
      "date": "2018-08-16"
    },
    {
      "version": "1.2.3",
      "date": "2018-10-24"
    },
    {
      "version": "1.2.4",
      "date": "2019-03-04"
    },
    {
      "version": "1.2.5",
      "date": "2025-11-28"
    }
  ],
  "_exports": [
    "as_cascade_long",
    "as_cascade_wide",
    "count_possible_edges",
    "drop_nodes",
    "is.cascade",
    "is.diffnet",
    "netinf",
    "simulate_cascades",
    "simulate_rnd_cascades",
    "subset_cascade",
    "subset_cascade_time"
  ],
  "_datasets": [
    {
      "name": "cascades",
      "title": "Example cascades",
      "object": "cascades",
      "class": [
        "cascade",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "policies",
      "title": "US State Policy Adoption (SPID)",
      "object": "policies",
      "class": [
        "data.frame"
      ],
      "fields": [
        "statenam",
        "policy",
        "adopt_year"
      ],
      "rows": 17835,
      "table": true,
      "tojson": true
    },
    {
      "name": "policies_metadata",
      "title": "US State Policy Adoption (SPID)",
      "object": "policies",
      "class": [
        "data.frame"
      ],
      "fields": [
        "policy",
        "source",
        "first_year",
        "last_year",
        "adopt_count",
        "description",
        "majortopic"
      ],
      "rows": 728,
      "table": true,
      "tojson": true
    },
    {
      "name": "sim_validation",
      "title": "Larger simulated validation network.",
      "object": "sim_validation",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "validation",
      "title": "Validation output from netinf source.",
      "object": "validation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "origin_node",
        "destination_node",
        "volume",
        "marginal_gain",
        "median_time_difference",
        "mean_time_difference"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_cascade_long",
      "title": "Transform long data to cascade",
      "topics": [
        "as_cascade_long"
      ]
    },
    {
      "page": "as_cascade_wide",
      "title": "Transform wide data to cascade",
      "topics": [
        "as_cascade_wide"
      ]
    },
    {
      "page": "as.data.frame.cascade",
      "title": "Convert a cascade object to a data frame",
      "topics": [
        "as.data.frame.cascade"
      ]
    },
    {
      "page": "as.matrix.cascade",
      "title": "Convert a cascade object to a matrix",
      "topics": [
        "as.matrix.cascade"
      ]
    },
    {
      "page": "cascades",
      "title": "Example cascades",
      "topics": [
        "cascades"
      ]
    },
    {
      "page": "count_possible_edges",
      "title": "Count the number of possible edges in the dataset",
      "topics": [
        "count_possible_edges"
      ]
    },
    {
      "page": "drop_nodes",
      "title": "Drop nodes from a cascade object",
      "topics": [
        "drop_nodes"
      ]
    },
    {
      "page": "is.cascade",
      "title": "Is the object of class cascade?",
      "topics": [
        "is.cascade"
      ]
    },
    {
      "page": "is.diffnet",
      "title": "Is the object of class diffnet?",
      "topics": [
        "is.diffnet"
      ]
    },
    {
      "page": "netinf",
      "title": "Infer latent diffusion network",
      "topics": [
        "netinf"
      ]
    },
    {
      "page": "NetworkInference",
      "title": "NetworkInference: Inferring latent diffusion networks",
      "topics": [
        "NetworkInference"
      ]
    },
    {
      "page": "plot.cascade",
      "title": "Plot a cascade object",
      "topics": [
        "plot.cascade"
      ]
    },
    {
      "page": "plot.diffnet",
      "title": "Visualize netinf output",
      "topics": [
        "plot.diffnet"
      ]
    },
    {
      "page": "policies",
      "title": "US State Policy Adoption (SPID)",
      "topics": [
        "policies",
        "policies_metadata"
      ]
    },
    {
      "page": "sim_validation",
      "title": "Larger simulated validation network.",
      "topics": [
        "sim_validation"
      ]
    },
    {
      "page": "simulate_cascades",
      "title": "Simulate cascades from a diffusion network",
      "topics": [
        "simulate_cascades"
      ]
    },
    {
      "page": "simulate_rnd_cascades",
      "title": "Simulate a set of random cascades",
      "topics": [
        "simulate_rnd_cascades"
      ]
    },
    {
      "page": "subset_cascade",
      "title": "Select a subset of cascades from cascade object",
      "topics": [
        "subset_cascade"
      ]
    },
    {
      "page": "subset_cascade_time",
      "title": "Subset a cascade object in time",
      "topics": [
        "subset_cascade_time"
      ]
    },
    {
      "page": "summary.cascade",
      "title": "Summarize a cascade object",
      "topics": [
        "summary.cascade"
      ]
    },
    {
      "page": "validation",
      "title": "Validation output from netinf source.",
      "topics": [
        "validation"
      ]
    }
  ],
  "_readme": "https://github.com/desmarais-lab/networkinference/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "backports",
    "checkmate",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "ggrepel",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppProgress",
    "rlang",
    "S7",
    "scales",
    "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"
    }
  ],
  "_vignettes": [
    {
      "source": "tutorial_vignette.Rmd",
      "filename": "tutorial_vignette.html",
      "title": "NetworkInference Tutorial: Persistent Policy Diffusion Ties",
      "author": "Fridolin Linder and Bruce Desmarais",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installing the package",
        "Exploring SPID Data",
        "Preparing the Data for NetworkInference",
        "Subsetting by Cascade",
        "Subsetting in Time",
        "Removing Nodes (States)",
        "Visually Inspecting Cascades",
        "Inferring the Latent Diffusion Network",
        "Classic Netinf",
        "Automatic Parameter Selection",
        "Selecting the number of edges automatically",
        "Selecting the parameters of the diffusion model",
        "Netinf output"
      ],
      "created": "2018-06-05 00:47:19",
      "modified": "2018-06-05 00:47:19",
      "commits": 1
    },
    {
      "source": "quickstart_vignette.Rmd",
      "filename": "quickstart_vignette.html",
      "title": "NetworkInference: Quick Start Guide",
      "author": "Fridolin Linder",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Quick start guide"
      ],
      "created": "2018-06-05 00:47:19",
      "modified": "2018-06-05 00:47:19",
      "commits": 1
    }
  ],
  "_score": 6.013679697291193,
  "_indexed": true,
  "_nocasepkg": "networkinference",
  "_universes": [
    "desmarais-lab",
    "flinder"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-27T06:48:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "2673620cc8dc43824f58cae27796f00b1f05f64684836149d35fec3f5760ba46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-27T06:48:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "9a3cb32f12632cecd912003f13afe98cc4a881accd00008fe0ad3ca9861a2f1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-27T06:48:46.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "def4260fd3cd33ae53e507be7838486c1779f55662e8aca47e0d085f89a40ae7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-27T06:48:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "f67821a7a0ea8256067bd6b80f142eab4c198402e2db629dbd4de1d456947fb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-27T06:50:26.000Z",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "46c8cdcaea07a844ada2505aa78c777b8dbe549b329ad6f89a2ec02684cea810",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-27T06:50:20.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "1c5c6e850ec8c78e1dbe9fce1895ef273fa2de050a3741d8ce7e5b8446682831",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-27T06:48:07.000Z",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "65703ec7acc4e6910a53326421b9cb33c795be67ed29c249dd6cda7ecda48b09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-27T06:49:53.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "85c692d6e9b13a23d0c5814ee256e481936b3751971bd94283ea331ec27b8261",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.5",
      "date": "2026-05-27T06:48:30.000Z",
      "arch": "emscripten",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "eb7dc776232175a5ac97efbb9542ecaadf8edf7ace8610eda96b6454f7d635cb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-27T06:47:49.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "131a699d84266142ecb3d8b9baf827acab7809dd4b9d0b297f912dc36c05f600",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-27T06:48:04.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "a2b19d376a52a28000918d6bedc74a2f69700b27f8d5fe1bf4bfde9294a0bc18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-27T06:47:36.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "2a817d9b188bb8ea8cae1fe17a7514248c8074365233d6e4bf0dd3e4dc3d29c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/26495347187"
    }
  ]
}