{
  "_id": "6aca7d05fe5cc25786e8a1b0",
  "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-10-10 16:55:11 UTC",
    "User": "root"
  },
  "Author": "Fridolin Linder [aut, cre],\nBruce Desmarais [ctb]",
  "Maintainer": "Fridolin Linder <fridolin.linder@gmail.com>",
  "_user": "desmarais-lab",
  "_type": "src",
  "_file": "NetworkInference_1.2.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/197bb5fa920d0a4216ad8d91f6b53cbd58526a12402be6c62e20db06e6a0c2c3",
  "_filesize": 1017851,
  "_sha256": "197bb5fa920d0a4216ad8d91f6b53cbd58526a12402be6c62e20db06e6a0c2c3",
  "_expires": "2027-01-18T17:59:27.000Z",
  "_created": "2026-10-10T16:55:11.000Z",
  "_published": "2026-10-10T17:59:33.342Z",
  "_buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114264282597,
      "time": 151,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11676595176"
    },
    {
      "job": 114264282689,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11676670064"
    },
    {
      "job": 114264282650,
      "time": 169,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675834633"
    },
    {
      "job": 114264282721,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676715062"
    },
    {
      "job": 114264282660,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11677807120"
    },
    {
      "job": 114264282736,
      "time": 391,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11675733331"
    },
    {
      "job": 114264282644,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678026655"
    },
    {
      "job": 114264282625,
      "time": 377,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676099704"
    },
    {
      "job": 114263492774,
      "time": 233,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676019054"
    },
    {
      "job": 114264282635,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11676595076"
    },
    {
      "job": 114264282739,
      "time": 365,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11675788281"
    },
    {
      "job": 114264282699,
      "time": 209,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11675824548"
    },
    {
      "job": 114264282762,
      "time": 128,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11676347659"
    },
    {
      "job": 114264282726,
      "time": 367,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11676765250"
    },
    {
      "job": 114264282677,
      "time": 148,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675889377"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 8
  },
  "_downloads": {
    "count": 312,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NetworkInference"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/desmarais-lab/networkinference",
  "_searchresults": 51,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NetworkInference.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": "16-20260322-1ubuntu1",
      "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.087781417809542,
  "_indexed": true,
  "_nocasepkg": "networkinference",
  "_universes": [
    "desmarais-lab",
    "flinder"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-10-10T16:57:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/13aecde9389296ad0a87a6535624d761a1522691e3f519440ec57442c883ab00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-10-10T16:57:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/4ed6692337970db9e2bcfa0f5cde48fbee6362f050cb56d34360dc071fe9704e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-10-10T16:57:59.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/14fb8b5a502e1706f80b09ea2f2a67013875058b6e61bfe12f4b106911821ee5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-10-10T16:58:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/c7c0993aba5553fe26e0669d5d76c6f9f4c62e3610cf677a06a12601c138c19c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-10-10T17:58:29.000Z",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/0b7047fc76e2e0b0eed11c267e413e107b6251e90de3a5c59272a84eed8ebede",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-10-10T16:59:44.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/b1db9d57174439531f1edba8c1e1f5fb68d495e15d4d3cfd273d2250aa08e121",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-10-10T17:58:17.000Z",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/fd79ade10bafd1c6d5741415674471e8502e1c91c768e27665fcb22c196d033e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-10-10T16:59:39.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/60f5cd051f2ac3d4cb429b13d7942b5d668930bb8e1e43a510246829ad623497",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.5",
      "date": "2026-10-10T16:57:23.000Z",
      "arch": "emscripten",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/a18e1941e0a8205da855e74fefbd0094e59ccd546b5b09074f386c63d024d999",
      "status": "success",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-10-10T17:00:24.000Z",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/6dbace357fa517e2359b62390105ba4326c166b68be881720f53221bd2b7857c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-10-10T16:56:59.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/601dd241de1c2582330d322308333cb7a15382a9a1584d50fc4116d8173af971",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-10-10T16:56:41.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/a0ec3b18e64e0ce022e13fc32f19bc67ae8cd341439ea61e420d3f17abd5143c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-10-10T17:00:26.000Z",
      "arch": "aarch64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/39c71cd6f9d551bcdb85db6739d1efda38255e1ddcb3fd05916245f4291d217a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-10-10T16:56:45.000Z",
      "arch": "x86_64",
      "commit": "78bee0b546d803223f39b8beda9c1fb831e67741",
      "fileid": "https://r2.ropensci.org/c19f3e3048c9c822543dba3a683604708d474050ff4d8d990e9e1c5fac930e9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/desmarais-lab/actions/runs/38069356385"
    }
  ]
}