{
  "_id": "6a1037b4acfb0bcc41c9a840",
  "Package": "obfuscatoR",
  "Type": "Package",
  "Title": "Obfuscation Game Designs",
  "Version": "0.2.2",
  "Authors@R": "c(\nperson(\"Erlend Dancke\", \"Sandorf\", email=\"erlend.dancke.sandorf@nmbu.no\", role = c(\"aut\", \"cre\")),\nperson(\"Caspar\", \"Chorus\", role = c(\"aut\")),\nperson(\"Sander\", \"van Cranenburgh\", role = c(\"aut\")))",
  "Maintainer": "Erlend Dancke Sandorf <erlend.dancke.sandorf@nmbu.no>",
  "Description": "When people make decisions, they may do so using a wide\nvariety of decision rules. The package allows users to easily\ncreate obfuscation games to test the obfuscation hypothesis. It\nprovides an easy to use interface and multiple options designed\nto vary the difficulty of the game and tailor it to the user's\nneeds. For more detail: Chorus et al., 2021, Obfuscation\nmaximization-based decision-making: Theory, methodology and\nfirst empirical evidence, Mathematical Social Sciences, 109,\n28-44, <doi:10.1016/j.mathsocsci.2020.10.002>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://obfuscator.edsandorf.me,\nhttps://github.com/edsandorf/obfuscatoR",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev",
  "Repository": "https://edsandorf.r-universe.dev",
  "Date/Publication": "2023-09-07 12:41:03 UTC",
  "RemoteUrl": "https://github.com/edsandorf/obfuscator",
  "RemoteRef": "HEAD",
  "RemoteSha": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 06:16:10 UTC",
    "User": "root"
  },
  "Author": "Erlend Dancke Sandorf [aut, cre],\nCaspar Chorus [aut],\nSander van Cranenburgh [aut]",
  "MD5sum": "6764a0e16ec71ec73e3db64224d9ce1d",
  "_user": "edsandorf",
  "_type": "src",
  "_file": "obfuscatoR_0.2.2.tar.gz",
  "_fileid": "5bddea731cb488fa8e502a16cccc3aa5e72f103ef1b11e8c6356bdeeca52a002",
  "_filesize": 150510,
  "_sha256": "5bddea731cb488fa8e502a16cccc3aa5e72f103ef1b11e8c6356bdeeca52a002",
  "_created": "2026-05-12T06:16:10.000Z",
  "_published": "2026-05-22T11:02:12.102Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77366617294,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937041263"
    },
    {
      "job": 77366617100,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937046184"
    },
    {
      "job": 77366617149,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937049495"
    },
    {
      "job": 77366616910,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937047376"
    },
    {
      "job": 77366616834,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937007124"
    },
    {
      "job": 77366616626,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158926570"
    },
    {
      "job": 77366616997,
      "time": 69,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6937025395"
    },
    {
      "job": 77366617010,
      "time": 74,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6937026462"
    },
    {
      "job": 77366617039,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937031895"
    }
  ],
  "_buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/edsandorf/obfuscator",
  "_commit": {
    "id": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
    "author": "Erlend Dancke Sandorf <edsandorf@gmail.com>",
    "committer": "Erlend Dancke Sandorf <edsandorf@gmail.com>",
    "message": "Version bump\n",
    "time": 1694090463
  },
  "_maintainer": {
    "name": "Erlend Dancke Sandorf",
    "email": "erlend.dancke.sandorf@nmbu.no",
    "login": "edsandorf",
    "twitter": "@EDSandorf",
    "uuid": 40987272
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "Rfast",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "edsandorf",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "obfuscator"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "edsandorf",
      "count": 20,
      "uuid": 40987272
    }
  ],
  "_userbio": {
    "uuid": 40987272,
    "type": "user",
    "name": "Erlend Dancke Sandorf",
    "description": "Postdoctoral researcher in environmental economics"
  },
  "_downloads": {
    "count": 228,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/obfuscatoR"
  },
  "_devurl": "https://github.com/edsandorf/obfuscator",
  "_pkgdown": "https://obfuscator.edsandorf.me",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/obfuscatoR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/edsandorf/obfuscator",
  "_realowner": "edsandorf",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2019-08-01"
    },
    {
      "version": "0.2.1",
      "date": "2020-11-19"
    },
    {
      "version": "0.2.2",
      "date": "2023-09-07"
    }
  ],
  "_exports": [
    "calculate_entropy",
    "calculate_payouts",
    "extract_attr",
    "generate_designs",
    "last",
    "print_design",
    "print_entropy",
    "print_payout",
    "save_design"
  ],
  "_help": [
    {
      "page": "dot-onAttach",
      "title": "Print package startup message",
      "topics": [
        ".onAttach"
      ]
    },
    {
      "page": "calc_entropy",
      "title": "Calculate Shannon's Entropy",
      "topics": [
        "calc_entropy"
      ]
    },
    {
      "page": "calc_payout_dm",
      "title": "Calculate expected payout to the decision maker",
      "topics": [
        "calc_payout_dm"
      ]
    },
    {
      "page": "calc_payout_obs",
      "title": "Calculate expected payout to the observer",
      "topics": [
        "calc_payout_obs"
      ]
    },
    {
      "page": "calc_pr_aj_rk",
      "title": "Calculate Pr(a_j|r_k)",
      "topics": [
        "calc_pr_aj_rk"
      ]
    },
    {
      "page": "calc_pr_guess",
      "title": "Calculate the probability that the observer will try to guess the rule",
      "topics": [
        "calc_pr_guess"
      ]
    },
    {
      "page": "calc_pr_rk_aj",
      "title": "Calculate Pr(r_k|a_j)",
      "topics": [
        "calc_pr_rk_aj"
      ]
    },
    {
      "page": "calculate_entropy",
      "title": "Calculate the entropy of each action in the design",
      "topics": [
        "calculate_entropy"
      ]
    },
    {
      "page": "calculate_payouts",
      "title": "Calculate payouts",
      "topics": [
        "calculate_payouts"
      ]
    },
    {
      "page": "check_design_opt",
      "title": "Check design options",
      "topics": [
        "check_design_opt"
      ]
    },
    {
      "page": "construct_design",
      "title": "Function to create a rule-action matrix",
      "topics": [
        "construct_design"
      ]
    },
    {
      "page": "extract_attr",
      "title": "Extract attributes",
      "topics": [
        "extract_attr"
      ]
    },
    {
      "page": "generate_designs",
      "title": "Generate obfuscation designs",
      "topics": [
        "generate_designs"
      ]
    },
    {
      "page": "last",
      "title": "Get the last element of a vector",
      "topics": [
        "last"
      ]
    },
    {
      "page": "print_design",
      "title": "Prints the design",
      "topics": [
        "print_design"
      ]
    },
    {
      "page": "print_entropy",
      "title": "Prints the entropy of the different actions",
      "topics": [
        "print_entropy"
      ]
    },
    {
      "page": "print_payout",
      "title": "Print the payouts",
      "topics": [
        "print_payout"
      ]
    },
    {
      "page": "save_design",
      "title": "Save obfuscation designs",
      "topics": [
        "save_design"
      ]
    }
  ],
  "_readme": "https://github.com/edsandorf/obfuscator/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "matrixStats",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "readr",
    "Rfast",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "zigg"
  ],
  "_vignettes": [
    {
      "source": "vignette-obfuscatoR.Rmd",
      "filename": "vignette-obfuscatoR.html",
      "title": "An introduction to the obfuscatoR package",
      "author": "Erlend Dancke Sandorf^[University of Stirling, Stirling Management School, Economics Division, e.d.sandorf@stir.ac.uk], Caspar Chorus^[Delft University of Technology, Department of Engineering Systems and Services], Sander van Cranenburgh^[Delft University of Technology, Department of Engineering Systems and Services]",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Simple obfuscation designs",
        "Generating a design",
        "Controlling replicability",
        "Calculate the entropy of each action",
        "When priors are not flat",
        "Restricted designs",
        "Complex obfuscation designs",
        "Obligatory actions",
        "Minimum and maximum number of available actions for the considered rule",
        "Minimum number of rules fitting each permitted action conditional on the rule",
        "Spread of entropy",
        "Multiple designs",
        "List of design options",
        "A cautionary note",
        "Saving the designs",
        "Calculating the payouts",
        "Payout to the observer",
        "Payout to the decision maker",
        "An example",
        "References"
      ],
      "created": "2019-06-12 08:36:44",
      "modified": "2020-11-16 13:52:31",
      "commits": 25
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "obfuscator",
  "_universes": [
    "edsandorf"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-12T06:18:28.000Z",
      "distro": "noble",
      "commit": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
      "fileid": "f9301dee4823270f03f72c32241db0f8059bd403e83cb7120d5e09cfd75e354c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-12T06:18:48.000Z",
      "distro": "noble",
      "commit": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
      "fileid": "2bf9a95c9b06e6e2fa7a89f507fc0e3148c1cd926fcfa935104f026a8de1c1d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-12T06:19:03.000Z",
      "commit": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
      "fileid": "a15bb429afc25fad618a9a1705661cbfaa6073464ab9b2b10ca8d6c1281a0e21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-12T06:18:55.000Z",
      "commit": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
      "fileid": "be619c1300835070d8e76231c287080f7cda7d2eb12c874f038b992092bec652",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-12T06:17:21.000Z",
      "commit": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
      "fileid": "2fd8c77cc88634b9f46eeca9fd4a422a9ebccf093e0ed9df70c4fb8624550554",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-12T06:17:24.000Z",
      "commit": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
      "fileid": "8189f1cf2debeaf527a3d7f18b99d5cfc1f5bb47dfa7c300fad072f05d126d7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-12T06:17:40.000Z",
      "commit": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
      "fileid": "fb32e77043be4db431f8fed27820face5ec0730410ff4b541eaa582ba129b518",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-05-22T11:01:58.000Z",
      "commit": "eec6f2cd9c65b45ffde1632ec43f6ca16f8fd0ee",
      "fileid": "99128253e34f2d10e965bf9fc9ec574e78b571bfadcc986662e63313fa689240",
      "status": "success",
      "buildurl": "https://github.com/r-universe/edsandorf/actions/runs/25716947261"
    }
  ]
}