{
  "_id": "6a49634777d6db3f2f967369",
  "Package": "origami",
  "Title": "Generalized Framework for Cross-Validation",
  "Version": "1.0.8",
  "Authors@R": "c(\nperson(\"Jeremy\", \"Coyle\", email = \"jeremyrcoyle@gmail.com\",\nrole = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-9874-6649\")),\nperson(\"Nima\", \"Hejazi\", email = \"nh@nimahejazi.org\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7127-2789\")),\nperson(\"Ivana\", \"Malenica\", email = \"imalenica@berkeley.edu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-7404-8088\")),\nperson(\"Rachael\", \"Phillips\", email = \"rachaelvphillips@berkeley.edu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-8474-591X\"))\n)",
  "Maintainer": "Nima Hejazi <nh@nimahejazi.org>",
  "Description": "A general framework for the application of\ncross-validation schemes to particular functions. By allowing\narbitrary lists of results, origami accommodates a range of\ncross-validation applications. This implementation was first\ndescribed by Coyle and Hejazi (2018) <doi:10.21105/joss.00512>.",
  "License": "GPL-3",
  "URL": "https://tlverse.org/origami/",
  "BugReports": "https://github.com/tlverse/origami/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Repository": "https://tlverse.r-universe.dev",
  "Date/Publication": "2026-05-23 23:38:33 UTC",
  "RemoteUrl": "https://github.com/tlverse/origami",
  "RemoteRef": "HEAD",
  "RemoteSha": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-23 05:49:04 UTC",
    "User": "root"
  },
  "Author": "Jeremy Coyle [aut, cph] (ORCID:\n<https://orcid.org/0000-0002-9874-6649>),\nNima Hejazi [aut, cre] (ORCID: <https://orcid.org/0000-0002-7127-2789>),\nIvana Malenica [aut] (ORCID: <https://orcid.org/0000-0002-7404-8088>),\nRachael Phillips [aut] (ORCID: <https://orcid.org/0000-0002-8474-591X>)",
  "_user": "tlverse",
  "_type": "src",
  "_file": "origami_1.0.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/cdae5c6e5b359e3b3ef2146ef989776e2c24a5272aed18344ee4a192243fc655",
  "_filesize": 165034,
  "_sha256": "cdae5c6e5b359e3b3ef2146ef989776e2c24a5272aed18344ee4a192243fc655",
  "_expires": "2026-10-12T19:47:18.000Z",
  "_created": "2026-06-23T05:49:04.000Z",
  "_published": "2026-07-04T19:47:19.527Z",
  "_jobs": [
    {
      "job": 85161770684,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7812517778"
    },
    {
      "job": 85161770878,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812519425"
    },
    {
      "job": 85161770828,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7812504415"
    },
    {
      "job": 85161770785,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812513835"
    },
    {
      "job": 85161770549,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812485525"
    },
    {
      "job": 85161770803,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812514641"
    },
    {
      "job": 85161770779,
      "time": 125,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7812515538"
    },
    {
      "job": 85161770733,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7812508870"
    },
    {
      "job": 85161770717,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812506331"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233",
  "_status": "success",
  "_upstream": "https://github.com/tlverse/origami",
  "_commit": {
    "id": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
    "author": "Nima Hejazi <nh@nimahejazi.org>",
    "committer": "Nima Hejazi <nh@nimahejazi.org>",
    "message": "updated cran submission\n",
    "time": 1779579513
  },
  "_maintainer": {
    "name": "Nima Hejazi",
    "email": "nh@nimahejazi.org",
    "login": "nhejazi",
    "bluesky": "@nimahejazi.org",
    "linkedin": "in/nshejazi",
    "orcid": "0000-0002-7127-2789",
    "description": "assistant professor of biostatistics at the harvard school of public health working on causal {inference, machine learning}",
    "uuid": 8527276
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "abind",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "listenv",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "class",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "forecast",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    }
  ],
  "_owner": "tlverse",
  "_selfowned": true,
  "_usedby": 16,
  "_updates": [
    {
      "week": "2026-20",
      "n": 4
    },
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "cross-validation",
    "machine-learning"
  ],
  "_stars": 28,
  "_contributors": [
    {
      "user": "jeremyrcoyle",
      "count": 127,
      "uuid": 3893286
    },
    {
      "user": "nhejazi",
      "count": 113,
      "uuid": 8527276
    },
    {
      "user": "rachaelvp",
      "count": 15,
      "uuid": 15657150
    },
    {
      "user": "imalenica",
      "count": 14,
      "uuid": 13910997
    },
    {
      "user": "jucheng1992",
      "count": 7,
      "uuid": 5385008
    },
    {
      "user": "ck37",
      "count": 1,
      "uuid": 50770
    },
    {
      "user": "katrinleinweber",
      "count": 1,
      "uuid": 9948149
    }
  ],
  "_userbio": {
    "uuid": 36939258,
    "type": "organization",
    "name": "tlverse",
    "followers": 75,
    "description": "Ecosystem of R packages for targeted (causal) machine learning"
  },
  "_downloads": {
    "count": 4776,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/origami"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/tlverse/origami",
  "_pkgdown": "https://tlverse.org/origami/",
  "_searchresults": 551,
  "_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/origami.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tlverse/origami",
  "_realowner": "tlverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.8.0",
      "date": "2017-06-23"
    },
    {
      "version": "1.0.0",
      "date": "2018-03-06"
    },
    {
      "version": "1.0.1",
      "date": "2019-05-02"
    },
    {
      "version": "1.0.3",
      "date": "2020-01-17"
    },
    {
      "version": "1.0.5",
      "date": "2021-09-28"
    },
    {
      "version": "1.0.7",
      "date": "2022-10-20"
    },
    {
      "version": "1.0.8",
      "date": "2026-05-18"
    }
  ],
  "_exports": [
    "combine_results",
    "combiner_array",
    "combiner_c",
    "combiner_factor",
    "combiner_rbind",
    "cross_validate",
    "fold_from_foldvec",
    "fold_index",
    "folds_bootstrap",
    "folds_loo",
    "folds_montecarlo",
    "folds_resubstitution",
    "folds_rolling_origin",
    "folds_rolling_origin_pooled",
    "folds_rolling_window",
    "folds_rolling_window_pooled",
    "folds_vfold",
    "folds_vfold_rolling_origin_pooled",
    "folds_vfold_rolling_window_pooled",
    "folds2foldvec",
    "id_folds_to_folds",
    "make_fold",
    "make_folds",
    "make_repeated_folds",
    "training",
    "validation",
    "wrap_in_try"
  ],
  "_help": [
    {
      "page": "combine_results",
      "title": "Combine Results from Different Folds",
      "topics": [
        "combine_results"
      ]
    },
    {
      "page": "combiners",
      "title": "Combiners",
      "topics": [
        "combiners",
        "combiner_array",
        "combiner_c",
        "combiner_factor",
        "combiner_rbind"
      ]
    },
    {
      "page": "cross_validate",
      "title": "Main Cross-Validation Function",
      "topics": [
        "cross_validate"
      ]
    },
    {
      "page": "fold_from_foldvec",
      "title": "Build a Fold Object from a Fold Vector",
      "concept": [
        "fold generation functions"
      ],
      "topics": [
        "fold_from_foldvec"
      ]
    },
    {
      "page": "fold_funs",
      "title": "Cross-Validation Schemes",
      "concept": [
        "fold generation functions"
      ],
      "topics": [
        "folds_bootstrap",
        "folds_loo",
        "folds_montecarlo",
        "folds_resubstitution",
        "folds_rolling_origin",
        "folds_rolling_origin_pooled",
        "folds_rolling_window",
        "folds_rolling_window_pooled",
        "folds_vfold",
        "folds_vfold_rolling_origin_pooled",
        "folds_vfold_rolling_window_pooled",
        "fold_funs"
      ]
    },
    {
      "page": "fold_helpers",
      "title": "Fold Helpers",
      "topics": [
        "fold_helpers",
        "fold_index",
        "training",
        "validation"
      ]
    },
    {
      "page": "folds2foldvec",
      "title": "Build a Fold Vector from a Fold Object",
      "concept": [
        "fold generation functions"
      ],
      "topics": [
        "folds2foldvec"
      ]
    },
    {
      "page": "guess_combiner",
      "title": "Flexible Guessing and Mapping for Combining Data Types",
      "topics": [
        "guess_combiner"
      ]
    },
    {
      "page": "id_folds_to_folds",
      "title": "Convert ID Folds to Observation Folds",
      "topics": [
        "id_folds_to_folds"
      ]
    },
    {
      "page": "make_fold",
      "title": "Fold",
      "topics": [
        "make_fold"
      ]
    },
    {
      "page": "make_folds",
      "title": "Make List of Folds for cross-validation",
      "concept": [
        "fold generation functions"
      ],
      "topics": [
        "make_folds"
      ]
    },
    {
      "page": "make_repeated_folds",
      "title": "Repeated Cross-Validation",
      "concept": [
        "fold generation functions"
      ],
      "topics": [
        "make_repeated_folds"
      ]
    },
    {
      "page": "wrap_in_try",
      "title": "Wrap a Function in a Try Statement",
      "topics": [
        "wrap_in_try"
      ]
    }
  ],
  "_readme": "https://github.com/tlverse/origami/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "assertthat",
    "codetools",
    "data.table",
    "digest",
    "future",
    "future.apply",
    "globals",
    "listenv",
    "parallelly"
  ],
  "_vignettes": [
    {
      "source": "generalizedCV.Rmd",
      "filename": "generalizedCV.html",
      "title": "Generalized Cross-Validation with Origami",
      "author": "Jeremy Coyle & Nima Hejazi",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Cross-validation with linear regression",
        "General workflow",
        "Define folds",
        "Define fold function",
        "Apply cross_validate",
        "Cross-validation with random forests",
        "Cross-validation with dependence: time series",
        "Session Information",
        "References"
      ],
      "created": "2017-06-14 01:14:03",
      "modified": "2026-05-12 20:17:46",
      "commits": 12
    }
  ],
  "_score": 10.62779643173853,
  "_indexed": true,
  "_nocasepkg": "origami",
  "_universes": [
    "tlverse",
    "nhejazi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-06-23T05:51:17.000Z",
      "distro": "noble",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/dbed4015d0d221d6c5e671ca5eddd7968e699c81fb0052c6e5b1c5e1adddb67a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-06-23T05:51:22.000Z",
      "distro": "noble",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/61f12dbc29e6d9be1a6c08b88b8604509dede477c626215397af1716b431a164",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-06-23T05:50:28.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/5c93ec1509dcffa8e6637ffaac7cf109ca676c26bc212493989b0927c8361d48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-06-23T05:51:01.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/7d7434169a81149353a604617e52082cc1856d5239895a340cf122898cde23a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-06-23T05:51:23.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/212af0e177395d26c9219b463763685b495d0c3ac710b7dccd6a2079f360a700",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-23T05:50:57.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/5e88e659e708bedc54233662a386ab8a95e10bc1998b330a0ddd3b4b5e532952",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-23T05:50:29.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/393ec7a5d8acee5deb2e7233efa081c09828130a4d50ffad01d1c2d8ee5dc35f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-23T05:50:21.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/aa58457f9d93fa8109fe09af637e3f69a0aa3f5228ddee0af1e7b488c2a4bf03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/28005099233"
    }
  ]
}