{
  "_id": "6aef1f6c43b51afa49dd939c",
  "Package": "OPL",
  "Type": "Package",
  "Title": "Optimal Policy Learning",
  "Version": "1.0.2",
  "Authors@R": "c(person(\"Federico\", \"Brogi\", email = \"federicobrogi@gmail.com\", role = c(\"aut\", \"cre\")), \nperson(\"Barbara\", \"Guardabascio\", email = \"barbara.guardabascio@unipg.it\", role = \"aut\"),\nperson(\"Giovanni\", \"Cerulli\", email = \"giovanni.cerulli@ircres.cnr.it\", role = \"aut\"))",
  "Author": "Federico Brogi [aut, cre], Barbara Guardabascio [aut], Giovanni\nCerulli [aut]",
  "Maintainer": "Federico Brogi <federicobrogi@gmail.com>",
  "Description": "Provides functions for optimal policy learning in\nsocioeconomic applications helping users to learn the most\neffective policies based on data in order to maximize empirical\nwelfare. Specifically, 'OPL' allows to find \"treatment\nassignment rules\" that maximize the overall welfare, defined as\nthe sum of the policy effects estimated over all the policy\nbeneficiaries. Documentation about 'OPL' is provided by several\ninternational articles via Athey et al (2021,\n<doi:10.3982/ECTA15732>), Kitagawa et al (2018,\n<doi:10.3982/ECTA13288>), Cerulli (2022,\n<doi:10.1080/13504851.2022.2032577>), the paper by Cerulli\n(2021, <doi:10.1080/13504851.2020.1820939>) and the book by\nGareth et al (2013, <doi:10.1007/978-1-4614-7138-7>).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-07 12:49:08 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-02-27 13:00:06 UTC",
  "RemoteUrl": "https://github.com/cran/OPL",
  "RemoteRef": "HEAD",
  "RemoteSha": "dc89096238536fc5b2941fdcec856117289fe0fe",
  "_user": "cran",
  "_type": "src",
  "_file": "OPL_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/6bcac33deb8b36d4bb8b91a2396f7b2b2758d54628b0cf9130ce80d5c64b27ff",
  "_filesize": 119085,
  "_sha256": "6bcac33deb8b36d4bb8b91a2396f7b2b2758d54628b0cf9130ce80d5c64b27ff",
  "_expires": "2027-02-15T12:54:02.000Z",
  "_created": "2026-11-07T12:49:08.000Z",
  "_published": "2026-11-07T12:54:04.122Z",
  "_upstream": "https://github.com/cran/OPL",
  "_status": "success",
  "_maintainer": {
    "name": "Federico Brogi",
    "email": "federicobrogi@gmail.com"
  },
  "_jobs": [
    {
      "job": 128408254945,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13575465504"
    },
    {
      "job": 128408254843,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13575555016"
    },
    {
      "job": 128407609779,
      "time": 182,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13574678014"
    },
    {
      "job": 128408254868,
      "time": 260,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13575166457"
    },
    {
      "job": 128408254895,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13575405477"
    },
    {
      "job": 128408254831,
      "time": 62,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13575450433"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/42373922081",
  "_commit": {
    "id": "dc89096238536fc5b2941fdcec856117289fe0fe",
    "author": "Federico Brogi <federicobrogi@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.2\n",
    "time": 1740661206
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "pander",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 222,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OPL"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/OPL.html"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-02-03"
    },
    {
      "version": "1.0.1",
      "date": "2025-02-17"
    },
    {
      "version": "1.0.2",
      "date": "2025-02-27"
    }
  ],
  "_exports": [
    "make_cate",
    "opl_dt_c",
    "opl_dt_max_choice",
    "opl_lc_c",
    "opl_tb_c",
    "overlapping"
  ],
  "_help": [
    {
      "page": "make_cate",
      "title": "Function to calculate the Causal Treatment Effect",
      "topics": [
        "make_cate"
      ]
    },
    {
      "page": "opl_dt_c",
      "title": "Optimal Policy Learning with Decision Tree",
      "topics": [
        "opl_dt_c"
      ]
    },
    {
      "page": "opl_dt_max_choice",
      "title": "User selection on multiple choice",
      "topics": [
        "opl_dt_max_choice"
      ]
    },
    {
      "page": "opl_lc_c",
      "title": "Linear Combination Based Policy Learning",
      "topics": [
        "opl_lc_c"
      ]
    },
    {
      "page": "opl_tb_c",
      "title": "Threshold-based policy learning at specific values",
      "topics": [
        "opl_tb_c"
      ]
    },
    {
      "page": "overlapping",
      "title": "Testing overlap between old and new policy sample",
      "topics": [
        "overlapping"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "digest",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pander",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "randomForest",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "make_cate.Rmd",
      "filename": "make_cate.html",
      "title": "make_cate",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    },
    {
      "source": "opl_dt_c.Rmd",
      "filename": "opl_dt_c.html",
      "title": "opl_dt_c",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Output",
        "Details",
        "Example",
        "Interpretation of Results",
        "References",
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    },
    {
      "source": "opl_lc_c.Rmd",
      "filename": "opl_lc_c.html",
      "title": "opl_lc_c",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Arguments",
        "Output",
        "Details",
        "Example",
        "Interpretation of Results",
        "References",
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    },
    {
      "source": "opl_tb_c.Rmd",
      "filename": "opl_tb_c.html",
      "title": "opl_tb_c",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Arguments",
        "Output",
        "Details",
        "Example",
        "Interpretation of Results",
        "References",
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    },
    {
      "source": "overlapping.Rmd",
      "filename": "overlapping.html",
      "title": "overlapping",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Usage",
        "Arguments",
        "Output",
        "Details",
        "Example",
        "Interpretation of Results",
        "Acknowledgment"
      ],
      "created": "2025-02-03 12:52:20",
      "modified": "2025-02-27 13:00:06",
      "commits": 2
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "opl",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-07T12:51:02.000Z",
      "distro": "resolute",
      "commit": "dc89096238536fc5b2941fdcec856117289fe0fe",
      "fileid": "https://r2.ropensci.org/37491ca99087767b1cf942dc351a7d94bfe372ef3421ccf9bd67cd4ef51d9c77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42373922081"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-07T12:50:51.000Z",
      "distro": "resolute",
      "commit": "dc89096238536fc5b2941fdcec856117289fe0fe",
      "fileid": "https://r2.ropensci.org/dc639cf3afb273a86d12325f81587958d2ff4fb611c16ebf299b2ed7621ae69d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42373922081"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-11-07T12:53:43.000Z",
      "commit": "dc89096238536fc5b2941fdcec856117289fe0fe",
      "fileid": "https://r2.ropensci.org/e177cde007bec93ba53a613670faf5638b7fd58a2bcda0f95fa966cd28324db2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42373922081"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-07T12:50:08.000Z",
      "commit": "dc89096238536fc5b2941fdcec856117289fe0fe",
      "fileid": "https://r2.ropensci.org/358a4bae1bc5a37cd471751728a2597958bd0921d85633656dad9688339b2a2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42373922081"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-07T12:50:06.000Z",
      "commit": "dc89096238536fc5b2941fdcec856117289fe0fe",
      "fileid": "https://r2.ropensci.org/29f94543bea1ed0e71d4c0dd22870bec69ece641149d5f649d9876be61440063",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42373922081"
    }
  ]
}