{
  "_id": "6ae9d15b9ceaa78f2009d95d",
  "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-11-03 11:27:16 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/c23e01ef83c849d2e6e3436a41c58497b4050f72556f0a927322b5bfa111dba2",
  "_filesize": 161093,
  "_sha256": "c23e01ef83c849d2e6e3436a41c58497b4050f72556f0a927322b5bfa111dba2",
  "_expires": "2027-02-11T12:19:37.000Z",
  "_created": "2026-11-03T11:27:16.000Z",
  "_published": "2026-11-03T12:19:39.586Z",
  "_upstream": "https://github.com/tlverse/origami",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 125889066629,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13227270806"
    },
    {
      "job": 125889066468,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13226229012"
    },
    {
      "job": 125889066785,
      "time": 194,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13228869549"
    },
    {
      "job": 125889066605,
      "time": 173,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13229436652"
    },
    {
      "job": 125887567608,
      "time": 190,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13227330762"
    },
    {
      "job": 125889066560,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13226832544"
    },
    {
      "job": 125889066513,
      "time": 119,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13225798549"
    },
    {
      "job": 125889066759,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13226298538"
    },
    {
      "job": 125889066613,
      "time": 102,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13225803579"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097",
  "_commit": {
    "id": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
    "author": "Nima Hejazi <nh@nimahejazi.org>",
    "committer": "Nima Hejazi <nh@nimahejazi.org>",
    "message": "updated cran submission\n",
    "time": 1779579513
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 19,
  "_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": 11742,
    "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": 520,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/origami.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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",
    "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": 11.067959552738781,
  "_indexed": true,
  "_nocasepkg": "origami",
  "_universes": [
    "tlverse",
    "nhejazi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-11-03T11:29:14.000Z",
      "distro": "resolute",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/098ea42934c068a662d439ea041136209514649b49077899484304932cb502bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-11-03T11:29:57.000Z",
      "distro": "resolute",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/0895abb3d718bb350d1b24f788ecc5dfd3c093c45f3dd768ce863a9fcd531f78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-11-03T12:18:32.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/70893c27daf878a262d5b1dfd8630bb3003091c1f61c286ce146823f1da54616",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-11-03T12:09:01.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/111c0e2ce2a53baf9478093d49c9617fd4c00c29945301d3cde393a4e40388ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-11-03T11:29:13.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/f5a1618deffd3f7bb35c56597a18469111a6fd6713fbf3c9f20c609aae9bf479",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-11-03T11:28:59.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/83a7551775829771a3466d222989d27bc09a83b0b732fcd16801a220a62593d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-11-03T11:28:30.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/59df8b8d0e494c0a0d71c4cd89f59606675045135bc9cf219c4308fcc3b04b68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-11-03T11:28:43.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/80c4ebdfe084b8b1c93f86275831a573741bf785973eea37e40dde152da8da2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/41627195097"
    }
  ]
}