{
  "_id": "6aca91bbfe5cc25786e8b9c1",
  "Package": "causaljudgment",
  "Title": "Computational Models of Causal Judgment",
  "Version": "0.1.0",
  "Date": "2026-09-08",
  "Authors@R": "person(\"Tadeg\", \"Quillien\", , \"tadeg.quillien@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides computational implementations of models of causal\njudgment, including the Counterfactual Effect Size (CES) model\nof Quillien and Lucas (2023) <doi:10.1037/rev0000428> and the\nNecessity-Sufficiency (NS) model of Icard, Kominsky and Knobe\n(2017) <doi:10.1016/j.cognition.2017.01.010>. The package\nrepresents causal structures as binary Structural Causal Models\nand analytically computes causal judgments from counterfactual\nprobability distributions.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "VignetteBuilder": "knitr",
  "BugReports": "https://github.com/tadegquillien/causaljudgment/issues",
  "URL": "https://tadegquillien.github.io/causaljudgment/",
  "Repository": "https://tadegquillien.r-universe.dev",
  "Date/Publication": "2026-10-10 17:34:12 UTC",
  "RemoteUrl": "https://github.com/tadegquillien/causaljudgment",
  "RemoteRef": "HEAD",
  "RemoteSha": "4aa169c2253b4e8837db3ed886a63098ac776560",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 19:00:43 UTC",
    "User": "root"
  },
  "Author": "Tadeg Quillien [aut, cre]",
  "Maintainer": "Tadeg Quillien <tadeg.quillien@gmail.com>",
  "_user": "tadegquillien",
  "_type": "src",
  "_file": "causaljudgment_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cc8bb4fc0627af2440e465d736f434ea731d3625420f6df437a8e32d9a202bba",
  "_filesize": 133638,
  "_sha256": "cc8bb4fc0627af2440e465d736f434ea731d3625420f6df437a8e32d9a202bba",
  "_expires": "2027-01-18T19:27:53.000Z",
  "_created": "2026-10-10T19:00:43.000Z",
  "_published": "2026-10-10T19:27:55.244Z",
  "_buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114289218335,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11678834296"
    },
    {
      "job": 114289218491,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678583094"
    },
    {
      "job": 114289218422,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11678899568"
    },
    {
      "job": 114289218474,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11680191491"
    },
    {
      "job": 114288582597,
      "time": 189,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678648024"
    },
    {
      "job": 114289218353,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11679583408"
    },
    {
      "job": 114289218489,
      "time": 57,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11679068923"
    },
    {
      "job": 114289218482,
      "time": 77,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11679638240"
    },
    {
      "job": 114289218379,
      "time": 69,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678874273"
    }
  ],
  "_upstream": "https://github.com/tadegquillien/causaljudgment",
  "_commit": {
    "id": "4aa169c2253b4e8837db3ed886a63098ac776560",
    "author": "Tadeg Quillien <tadeg.quillien@gmail.com>",
    "committer": "Tadeg Quillien <tadeg.quillien@gmail.com>",
    "message": "add cran installation to readme\n",
    "time": 1791653652
  },
  "_maintainer": {
    "name": "Tadeg Quillien",
    "email": "tadeg.quillien@gmail.com",
    "login": "tadegquillien",
    "description": "",
    "uuid": 70865985
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "tadegquillien",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-51",
      "n": 14
    },
    {
      "week": "2026-32",
      "n": 5
    },
    {
      "week": "2026-36",
      "n": 9
    },
    {
      "week": "2026-37",
      "n": 3
    },
    {
      "week": "2026-38",
      "n": 5
    },
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "tadegquillien",
      "count": 37,
      "uuid": 70865985
    }
  ],
  "_userbio": {
    "uuid": 70865985,
    "type": "user",
    "name": "tadegquillien",
    "followers": 5
  },
  "_downloads": {
    "count": 114,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/causaljudgment"
  },
  "_devurl": "https://github.com/tadegquillien/causaljudgment",
  "_pkgdown": "https://tadegquillien.github.io/causaljudgment/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/causaljudgment.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/tadegquillien/causaljudgment",
  "_realowner": "tadegquillien",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-06"
    }
  ],
  "_exports": [
    "ces",
    "compute_judgment",
    "ns"
  ],
  "_help": [
    {
      "page": "ces",
      "title": "ces(): compute a judgment with the CES model.",
      "topics": [
        "ces"
      ]
    },
    {
      "page": "compute_counterfactual_value",
      "title": "compute_counterfactual_value(): compute the value of Y conditioned on a counterfactual intervention on X, starting from a given world.",
      "topics": [
        "compute_counterfactual_value"
      ]
    },
    {
      "page": "compute_judgment",
      "title": "compute_judgment(): compute a causal judgment.",
      "topics": [
        "compute_judgment"
      ]
    },
    {
      "page": "compute_necessity",
      "title": "compute_necessity(): compute whether X was necessary for Y in the actual world.",
      "topics": [
        "compute_necessity"
      ]
    },
    {
      "page": "compute_probabilities",
      "title": "compute_probability(): compute the probability distribution over counterfactual worlds induced by the causal model and the state of the actual world.",
      "topics": [
        "compute_probabilities"
      ]
    },
    {
      "page": "compute_sufficiency",
      "title": "compute_sufficiency(): computes the sufficiency of a candidate cause for an outcome.",
      "topics": [
        "compute_sufficiency"
      ]
    },
    {
      "page": "create_structural_function",
      "title": "Parse a structural function (or exogenous probability)",
      "topics": [
        "create_structural_function"
      ]
    },
    {
      "page": "make_function_list",
      "title": "Create structural functions for a causal model",
      "topics": [
        "make_function_list"
      ]
    },
    {
      "page": "ns",
      "title": "ns(): compute a judgment with the NS model.",
      "topics": [
        "ns"
      ]
    },
    {
      "page": "verif",
      "title": "verif(): verify consistency of an endogenous variable",
      "topics": [
        "verif"
      ]
    }
  ],
  "_readme": "https://github.com/tadegquillien/causaljudgment/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "background.Rmd",
      "filename": "background.html",
      "title": "Background",
      "engine": "knitr::rmarkdown",
      "headings": [
        "When and why use this package?",
        "Technical description of the model implementations",
        "Necessity-Sufficiency model",
        "Counterfactual Effect Size model"
      ],
      "created": "2026-09-03 14:36:16",
      "modified": "2026-09-07 15:06:43",
      "commits": 4
    },
    {
      "source": "examples.Rmd",
      "filename": "examples.html",
      "title": "Examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Getting started",
        "First example: simple conjunctive and disjunctive structures",
        "Conjunctive structure",
        "Disjunctive structure",
        "Experiments in Quillien & Lucas (2023)",
        "Confounded models",
        "Simple confounded model",
        "More complicated confounded model",
        "Double prevention",
        "Noisy-Disjunctive structure",
        "Time",
        "References"
      ],
      "created": "2026-09-03 14:36:16",
      "modified": "2026-09-07 15:06:43",
      "commits": 2
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "causaljudgment",
  "_universes": [
    "tadegquillien"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-10T19:03:10.000Z",
      "distro": "resolute",
      "commit": "4aa169c2253b4e8837db3ed886a63098ac776560",
      "fileid": "https://r2.ropensci.org/02715a1c661c82d0f628d9f41e3ee16a749889a2af3d27409c6b4ac570d90860",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-10T19:02:31.000Z",
      "distro": "resolute",
      "commit": "4aa169c2253b4e8837db3ed886a63098ac776560",
      "fileid": "https://r2.ropensci.org/72806a258d265d35a4e428c77e9114318c8a090aabfb8c94152a1fad5f5f6289",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-10T19:24:55.000Z",
      "commit": "4aa169c2253b4e8837db3ed886a63098ac776560",
      "fileid": "https://r2.ropensci.org/3f8cb70809762247b7a3195d1a7c12ca895878893b82ff5f12b598950041f453",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-10T19:27:20.000Z",
      "commit": "4aa169c2253b4e8837db3ed886a63098ac776560",
      "fileid": "https://r2.ropensci.org/8c45ec4f2cbf671b6253861c1459e3e3dcbe08e129ef959df64d71910d0937f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-10T19:02:43.000Z",
      "commit": "4aa169c2253b4e8837db3ed886a63098ac776560",
      "fileid": "https://r2.ropensci.org/a22c15b2c08f81fb759ad9b408b57fca56ccc2a31bcfd99ba67cd80113f032d9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T19:01:40.000Z",
      "commit": "4aa169c2253b4e8837db3ed886a63098ac776560",
      "fileid": "https://r2.ropensci.org/b5e6f024cd0c5828ba536f68dcf6fdb9e47a2eb2bf7f6f64d5e560d295708532",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T19:02:01.000Z",
      "commit": "4aa169c2253b4e8837db3ed886a63098ac776560",
      "fileid": "https://r2.ropensci.org/1e78f83e6de6e9815e1208fd570f7f2cab051c2e0f022453d88c61e642da5ea7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T19:01:48.000Z",
      "commit": "4aa169c2253b4e8837db3ed886a63098ac776560",
      "fileid": "https://r2.ropensci.org/6a66d711a31c1d94437ab6a93202d019b28155de74156b3271124ff97395843f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tadegquillien/actions/runs/38077870348"
    }
  ]
}