{
  "_id": "6a44da2a6ff6f2357551cf5b",
  "Type": "Package",
  "Package": "truelies",
  "Title": "Bayesian Methods to Estimate the Proportion of Liars in Coin\nFlip Experiments",
  "Version": "0.2.1",
  "Author": "David Hugh-Jones <davidhughjones@gmail.com>",
  "Maintainer": "David Hugh-Jones <davidhughjones@gmail.com>",
  "Description": "Implements Bayesian methods, described in Hugh-Jones\n(2019) <doi:10.1007/s40881-019-00069-x>, for estimating the\nproportion of liars in coin flip-style experiments, where\nsubjects report a random outcome and are paid for reporting a\n\"good\" outcome.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/hughjonesd/truelies",
  "BugReports": "https://github.com/hughjonesd/truelies/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://r-multiverse.r-universe.dev",
  "Date/Publication": "2026-05-26 15:10:25 UTC",
  "RemoteUrl": "https://github.com/hughjonesd/truelies",
  "RemoteRef": "v0.2.1",
  "RemoteSha": "4a0b41cde2d32c28662645c1b8780192e57400a2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-01 09:08:05 UTC",
    "User": "root"
  },
  "_user": "r-multiverse",
  "_type": "src",
  "_file": "truelies_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/be3625ea60e82eb0a3a328de2b935ee7244f12d78b56054bcdd22e33e86eab49",
  "_filesize": 209777,
  "_sha256": "be3625ea60e82eb0a3a328de2b935ee7244f12d78b56054bcdd22e33e86eab49",
  "_expires": "2026-10-09T09:13:14.000Z",
  "_created": "2026-07-01T09:08:05.000Z",
  "_published": "2026-07-01T09:13:14.847Z",
  "_jobs": [
    {
      "job": 84495972549,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8005276783"
    },
    {
      "job": 84495972526,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8005295234"
    },
    {
      "job": 84495972492,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8005263202"
    },
    {
      "job": 84495972546,
      "time": 273,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8005340991"
    },
    {
      "job": 84495490234,
      "time": 151,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8005225848"
    },
    {
      "job": 84495972479,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8005284768"
    },
    {
      "job": 84495972533,
      "time": 59,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8005251649"
    },
    {
      "job": 84495972529,
      "time": 62,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8005252343"
    },
    {
      "job": 84495972604,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8005257907"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577",
  "_status": "success",
  "_upstream": "https://github.com/hughjonesd/truelies",
  "_commit": {
    "id": "4a0b41cde2d32c28662645c1b8780192e57400a2",
    "author": "David Hugh-Jones <davidhughjones@gmail.com>",
    "committer": "David Hugh-Jones <davidhughjones@gmail.com>",
    "message": "Increment version number to 0.2.1\n",
    "time": 1779808225
  },
  "_maintainer": {
    "name": "David Hugh-Jones",
    "email": "davidhughjones@gmail.com",
    "login": "hughjonesd",
    "twitter": "@davidhughjones",
    "description": "Social scientist, R hacker",
    "uuid": 5818871
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "hdrcde",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "hughjonesd",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0.9000",
      "date": "2026-05-26"
    },
    {
      "name": "v0.2.1",
      "date": "2026-05-26"
    }
  ],
  "_topics": [
    "experiment",
    "lying"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hughjonesd",
      "count": 28,
      "uuid": 5818871
    }
  ],
  "_userbio": {
    "uuid": 161461790,
    "type": "organization",
    "name": "R-multiverse",
    "followers": 36,
    "description": "A community-curated collection of R package releases, powered by R-universe"
  },
  "_downloads": {
    "count": 214,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/truelies"
  },
  "_devurl": "https://github.com/hughjonesd/truelies",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/truelies.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hughjonesd/truelies",
  "_realowner": "hughjonesd",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-06-28"
    },
    {
      "version": "0.2.0",
      "date": "2019-08-26"
    }
  ],
  "_exports": [
    "compare_dists",
    "difference_dist",
    "dist_hdr",
    "dist_mean",
    "dist_quantile",
    "empirical_bayes",
    "power_calc",
    "power_calc_difference",
    "update_prior"
  ],
  "_help": [
    {
      "page": "compare_dists",
      "title": "Calculate probability that one posterior is larger than another",
      "topics": [
        "compare_dists"
      ]
    },
    {
      "page": "difference_dist",
      "title": "Find density of the difference of two distributions",
      "topics": [
        "difference_dist"
      ]
    },
    {
      "page": "dist_hdr",
      "title": "Compute highest density region for a density function",
      "topics": [
        "dist_hdr"
      ]
    },
    {
      "page": "dist_mean",
      "title": "Find mean of a probability density function",
      "topics": [
        "dist_mean"
      ]
    },
    {
      "page": "dist_quantile",
      "title": "Find quantiles given a probability density function",
      "topics": [
        "dist_quantile"
      ]
    },
    {
      "page": "empirical_bayes",
      "title": "Estimate proportions of liars in multiple samples using empirical Bayes",
      "topics": [
        "empirical_bayes",
        "empirical_bayes.default",
        "empirical_bayes.formula"
      ]
    },
    {
      "page": "power_calc",
      "title": "Calculate power to detect non-zero lying",
      "topics": [
        "power_calc"
      ]
    },
    {
      "page": "power_calc_difference",
      "title": "Estimate power to detect differences in lying between two samples",
      "topics": [
        "power_calc_difference"
      ]
    },
    {
      "page": "print.densityFunction",
      "title": "Print/plot an object of class 'densityFunction'.",
      "topics": [
        "plot.densityFunction",
        "print.densityFunction"
      ]
    },
    {
      "page": "update_prior",
      "title": "Calculate posterior distribution of the proportion of liars",
      "topics": [
        "update_prior"
      ]
    }
  ],
  "_readme": "https://github.com/hughjonesd/truelies/raw/v0.2.1/README.md",
  "_rundeps": [
    "ash",
    "cli",
    "cpp11",
    "farver",
    "FNN",
    "ggplot2",
    "glue",
    "gtable",
    "hdrcde",
    "isoband",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "locfit",
    "Matrix",
    "mclust",
    "mgcv",
    "multicool",
    "mvtnorm",
    "nlme",
    "pracma",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "truelies",
  "_universes": [
    "r-multiverse"
  ],
  "_indexurl": "https://hughjonesd.r-universe.dev/truelies",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-01T09:10:11.000Z",
      "distro": "resolute",
      "commit": "4a0b41cde2d32c28662645c1b8780192e57400a2",
      "fileid": "https://r2.ropensci.org/8e4cbccb6100203ef4ec52925d415d49063190bcc0fd6f56fcd73cc9344cbe5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-01T09:10:54.000Z",
      "distro": "resolute",
      "commit": "4a0b41cde2d32c28662645c1b8780192e57400a2",
      "fileid": "https://r2.ropensci.org/c1eda2537f2917de207b06bfe41a983123b8632362e17be43c6765fe5f5ddd75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-01T09:09:40.000Z",
      "commit": "4a0b41cde2d32c28662645c1b8780192e57400a2",
      "fileid": "https://r2.ropensci.org/2f136d55bcdae4a7968562dc7150d56d85d2a55d983f5fb5ff360595deed7ec5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-01T09:12:11.000Z",
      "commit": "4a0b41cde2d32c28662645c1b8780192e57400a2",
      "fileid": "https://r2.ropensci.org/475da0348729f77c090b05690373128cf5f7522bf50f41df9b3a766f52c5258a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-07-01T09:10:39.000Z",
      "commit": "4a0b41cde2d32c28662645c1b8780192e57400a2",
      "fileid": "https://r2.ropensci.org/751599a3f90c0c0a14584147661feac732ff29072f845a47d268417cb841eebc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-01T09:09:06.000Z",
      "commit": "4a0b41cde2d32c28662645c1b8780192e57400a2",
      "fileid": "https://r2.ropensci.org/9e90def6082143feb29d640313c0b0e564db9459f531bfc01e69179807d77f22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-01T09:09:07.000Z",
      "commit": "4a0b41cde2d32c28662645c1b8780192e57400a2",
      "fileid": "https://r2.ropensci.org/eb25e226dbdb3de2dfaf0854d15db7897fc0253fbb1cc07c3afa5f7ba85164aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-01T09:09:17.000Z",
      "commit": "4a0b41cde2d32c28662645c1b8780192e57400a2",
      "fileid": "https://r2.ropensci.org/59e14b4de9d8597b9b983f69fc7b82d6a4d7d3707f721fb2dfa7a8151e9a7af2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/28506287577"
    }
  ]
}