{
  "_id": "6a1065eeacfb0bcc41ca8cde",
  "Package": "ocf",
  "Type": "Package",
  "Title": "Ordered Correlation Forest",
  "Version": "1.0.3",
  "Authors@R": "person(\"Riccardo\", \"Di Francesco\", email = \"difrancesco.riccardo96@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Machine learning estimator specifically optimized for\npredictive modeling of ordered non-numeric outcomes. 'ocf'\nprovides forest-based estimation of the conditional choice\nprobabilities and the covariates’ marginal effects. Under an\n\"honesty\" condition, the estimates are consistent and\nasymptotically normal and standard errors can be obtained by\nleveraging the weight-based representation of the random forest\npredictions. Please reference the use as Di Francesco (2025)\n<doi:10.1080/07474938.2024.2429596>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://riccardo-df.github.io/ocf/,\nhttps://github.com/riccardo-df/ocf",
  "BugReports": "https://github.com/riccardo-df/ocf/issues",
  "Biarch": "TRUE",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://riccardo-df.r-universe.dev",
  "Date/Publication": "2025-02-28 12:24:25 UTC",
  "RemoteUrl": "https://github.com/riccardo-df/ocf",
  "RemoteRef": "HEAD",
  "RemoteSha": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-08 06:12:25 UTC",
    "User": "root"
  },
  "Author": "Riccardo Di Francesco [aut, cre, cph]",
  "Maintainer": "Riccardo Di Francesco <difrancesco.riccardo96@gmail.com>",
  "MD5sum": "4c6aabbbdd29aeebabd0b41f09c0b2d8",
  "_user": "riccardo-df",
  "_type": "src",
  "_file": "ocf_1.0.3.tar.gz",
  "_fileid": "7c65f550eea653e6bb02c89e1196f0d550b17076f61842890ff4f7b8a73d0f8f",
  "_filesize": 692913,
  "_sha256": "7c65f550eea653e6bb02c89e1196f0d550b17076f61842890ff4f7b8a73d0f8f",
  "_created": "2026-05-08T06:12:25.000Z",
  "_published": "2026-05-22T14:19:26.289Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77398163002,
      "time": 201,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6873043076"
    },
    {
      "job": 77398163029,
      "time": 193,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6873040994"
    },
    {
      "job": 77398163071,
      "time": 227,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6873049272"
    },
    {
      "job": 77398163547,
      "time": 201,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6873044175"
    },
    {
      "job": 77398163181,
      "time": 178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6873032872"
    },
    {
      "job": 77398163159,
      "time": 323,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6873065651"
    },
    {
      "job": 77398163007,
      "time": 261,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6873048018"
    },
    {
      "job": 77398163033,
      "time": 345,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6873070054"
    },
    {
      "job": 77398162521,
      "time": 264,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6872997173"
    },
    {
      "job": 77398162446,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162755633"
    },
    {
      "job": 77398162911,
      "time": 191,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6873040641"
    },
    {
      "job": 77398163193,
      "time": 183,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6873039699"
    },
    {
      "job": 77398163068,
      "time": 169,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6873035544"
    }
  ],
  "_buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/riccardo-df/ocf",
  "_commit": {
    "id": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
    "author": "Riccardo Di Francesco <difrancesco.riccardo96@gmail.com>",
    "committer": "Riccardo Di Francesco <difrancesco.riccardo96@gmail.com>",
    "message": "Update ocf-short-tutorial.Rmd\n",
    "time": 1740745465
  },
  "_maintainer": {
    "name": "Riccardo Di Francesco",
    "email": "difrancesco.riccardo96@gmail.com",
    "login": "riccardo-df",
    "uuid": 105152061
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "orf",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "riccardo-df",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "riccardo-df",
      "count": 218,
      "uuid": 105152061
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 105152061,
    "type": "user",
    "name": "Riccardo Di Francesco",
    "description": "Ph.D. candidate at University of Rome Tor Vergata."
  },
  "_downloads": {
    "count": 189,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ocf"
  },
  "_devurl": "https://github.com/riccardo-df/ocf",
  "_pkgdown": "https://riccardo-df.github.io/ocf/",
  "_searchresults": 5,
  "_topics": [
    "cpp"
  ],
  "_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/ocf.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/riccardo-df/ocf",
  "_realowner": "riccardo-df",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-09-14"
    },
    {
      "version": "1.0.1",
      "date": "2024-09-25"
    },
    {
      "version": "1.0.3",
      "date": "2025-02-03"
    }
  ],
  "_exports": [
    "classification_error",
    "generate_ordered_data",
    "marginal_effects",
    "mean_absolute_error",
    "mean_ranked_score",
    "mean_squared_error",
    "multinomial_ml",
    "ocf",
    "ordered_ml",
    "tree_info"
  ],
  "_help": [
    {
      "page": "generate_ordered_data",
      "title": "Generate Ordered Data",
      "topics": [
        "generate_ordered_data"
      ]
    },
    {
      "page": "marginal_effects",
      "title": "Marginal Effects for Ordered Correlation Forest",
      "topics": [
        "marginal_effects"
      ]
    },
    {
      "page": "mean_squared_error",
      "title": "Accuracy Measures for Ordered Probability Predictions",
      "topics": [
        "classification_error",
        "mean_absolute_error",
        "mean_ranked_score",
        "mean_squared_error"
      ]
    },
    {
      "page": "multinomial_ml",
      "title": "Multinomial Machine Learning",
      "topics": [
        "multinomial_ml"
      ]
    },
    {
      "page": "ocf",
      "title": "Ordered Correlation Forest",
      "topics": [
        "ocf"
      ]
    },
    {
      "page": "ordered_ml",
      "title": "Ordered Machine Learning",
      "topics": [
        "ordered_ml"
      ]
    },
    {
      "page": "plot.ocf.marginal",
      "title": "Plot Method for ocf.marginal Objects",
      "topics": [
        "plot.ocf.marginal"
      ]
    },
    {
      "page": "predict.mml",
      "title": "Prediction Method for mml Objects",
      "topics": [
        "predict.mml"
      ]
    },
    {
      "page": "predict.ocf",
      "title": "Prediction Method for ocf Objects",
      "topics": [
        "predict.ocf"
      ]
    },
    {
      "page": "predict.oml",
      "title": "Prediction Method for oml Objects",
      "topics": [
        "predict.oml"
      ]
    },
    {
      "page": "print.ocf",
      "title": "Print Method for ocf Objects",
      "topics": [
        "print.ocf"
      ]
    },
    {
      "page": "print.ocf.marginal",
      "title": "Print Method for ocf.marginal Objects",
      "topics": [
        "print.ocf.marginal"
      ]
    },
    {
      "page": "summary.ocf",
      "title": "Summary Method for ocf Objects",
      "topics": [
        "summary.ocf"
      ]
    },
    {
      "page": "summary.ocf.marginal",
      "title": "Summary Method for ocf.marginal Objects",
      "topics": [
        "summary.ocf.marginal"
      ]
    },
    {
      "page": "tree_info",
      "title": "Tree Information in Readable Format",
      "topics": [
        "tree_info"
      ]
    }
  ],
  "_pkglogo": "https://github.com/riccardo-df/ocf/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/riccardo-df/ocf/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "dplyr",
    "farver",
    "foreach",
    "generics",
    "ggplot2",
    "ggthemes",
    "glmnet",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "orf",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "ranger",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "ocf",
  "_universes": [
    "riccardo-df"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-08T06:15:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "449a59278007d98d596c8edb9a13e4c05c71a4489851f0067fd4af72147ef8fe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-08T06:15:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "b80c4f587bbd6aa44cb274482b7645a5176380aad6f3503b3e2d778241fd671f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-08T06:15:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "1693adbf6e257238b4d73161bc9e88a66d4e6c40a0de2bd73f6bc0d20f2727be",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-08T06:15:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "d49c5b14a40a1723faf4da9ae4c51e02dffdfc53693e34d8d9800acf7c83fa74",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-08T06:15:00.000Z",
      "arch": "aarch64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "97647c3cb3cb33b09b8ec51af2ad30d8541a1944ad9f952e44d2a140206415d4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-08T06:16:35.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "faafd5c28ac4ee4031d6c2051c1a70e756ee9cbb5b4f2d8c014c1271dcd768bc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-08T06:15:24.000Z",
      "arch": "aarch64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "5bbe5bbef63109af2080dc04df19add26a48b958b12d14d3cc553749fc958992",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-08T06:16:49.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "ee32d1176fd5487486e862aa970b57d59fe0c3271a84d44c4e2ac9406d7302ff",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-08T06:14:17.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "9138d7ac3684d83c4c2c44ea469658cc5e45128c8a70fdc7ca9a32e80171f4f4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-08T06:14:29.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "13f657c2f8252af90bf8b425c079d3da5a70d264aa11f0fef2c3988b189a9183",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-08T06:14:12.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "061da2d81071bb3008d55e074c728779ed0833ff396e72dfea00d6b3b26ec239",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-22T14:18:34.000Z",
      "arch": "emscripten",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "900c69e50d18a7e2909f1ce97fe47e5e937683e193357da4a3d625e74beb3c5c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/25539992953"
    }
  ]
}