{
  "_id": "6a4960cf77d6db3f2f96640c",
  "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-06-24 11:34:21 UTC",
    "User": "root"
  },
  "Author": "Riccardo Di Francesco [aut, cre, cph]",
  "Maintainer": "Riccardo Di Francesco <difrancesco.riccardo96@gmail.com>",
  "_user": "riccardo-df",
  "_type": "src",
  "_file": "ocf_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/913593bf9f1d5b81d6b8381ad88e9d9c4dbcff4f87c1b64e5398b2f56c0ec78d",
  "_filesize": 694498,
  "_sha256": "913593bf9f1d5b81d6b8381ad88e9d9c4dbcff4f87c1b64e5398b2f56c0ec78d",
  "_expires": "2026-10-12T19:36:45.000Z",
  "_created": "2026-06-24T11:34:21.000Z",
  "_published": "2026-07-04T19:36:47.252Z",
  "_jobs": [
    {
      "job": 85161086141,
      "time": 216,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7848337881"
    },
    {
      "job": 85161086181,
      "time": 211,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7848335153"
    },
    {
      "job": 85161086192,
      "time": 227,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7848341693"
    },
    {
      "job": 85161086073,
      "time": 211,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7848335096"
    },
    {
      "job": 85161086132,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7848308687"
    },
    {
      "job": 85161086253,
      "time": 246,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7848347130"
    },
    {
      "job": 85161086251,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7848310677"
    },
    {
      "job": 85161086142,
      "time": 347,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7848381866"
    },
    {
      "job": 85161085988,
      "time": 258,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7848259231"
    },
    {
      "job": 85161086151,
      "time": 192,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848328979"
    },
    {
      "job": 85161086234,
      "time": 202,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7848332434"
    },
    {
      "job": 85161086302,
      "time": 174,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7848321618"
    },
    {
      "job": 85161086096,
      "time": 177,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7848322866"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570",
  "_status": "failure",
  "_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",
    "description": "Ph.D. candidate at University of Rome Tor Vergata.",
    "uuid": 105152061
  },
  "_distro": "resolute",
  "_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",
    "followers": 14,
    "description": "Ph.D. candidate at University of Rome Tor Vergata."
  },
  "_downloads": {
    "count": 242,
    "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": 7,
  "_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": "16-20260322-1ubuntu1",
      "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-06-24T11:37:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/06d0ff15fbc76e7aa8bd6ae55ec91860c5f7d62d4f9a926a536ee4a111f57961",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-24T11:37:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/61732f8eac542202e1787ba8b4289922959cb6d5bd4a1b7a0c833fb36ff4b0bb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-24T11:38:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/8d1b1186a15dfd19fcb7701c03f8c5c9a2a8443ba2e5938b622078475da9a7a9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-24T11:37:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/b865b8aea29ea1b78cd4542a9d012335eff44cf255767a737c34d8579d1af599",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-24T11:36:40.000Z",
      "arch": "aarch64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/ef252c0706747f279aec5a3c79b22f520db91a87baac51b5fd815be1201ac61c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-24T11:37:43.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/3ecb82981e50b47ca4288cfaadd83f66361debc4bf4825a759f3b7932dc4a506",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-24T11:36:42.000Z",
      "arch": "aarch64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/4dd099446b786a5477472be9c85ddc4d39031a3f5197d00df14cf3264e0e70d5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-24T11:38:43.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/064f5d6b93fb90590a1125d8644575dad99f8a1ee9f245cc919c38c3aae131a4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-24T11:37:56.000Z",
      "arch": "emscripten",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/d1d87610bea03a03d02ca95b141296217449ff4622eaffb61798214facac6f05",
      "status": "success",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-24T11:36:37.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/4b63696d487f2802573965084a2dae8f401fee81e91d373ceaaa7c96bc1e80eb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-24T11:36:19.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/d2f161fbfee9c730ac99c8c45db97dcef98eb4f2ef0f5063a32ec3d1ee8521d8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-24T11:36:19.000Z",
      "arch": "x86_64",
      "commit": "5de2d60cd0b7a9df96c2b80afe0f2779811ad42f",
      "fileid": "https://r2.ropensci.org/fefded8514ff1f4533e3817759209fe392f8383f36d98d4639af13f83b358d4b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/riccardo-df/actions/runs/28095337570"
    }
  ]
}