{
  "_id": "6ac22ef9d743750d376d67b7",
  "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-10-04 10:44:51 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/ea745dd074a6b297c5b9b4cd18e7cb47ac8d55899c1d5b8dcddb679d6c1ed289",
  "_filesize": 165178,
  "_sha256": "ea745dd074a6b297c5b9b4cd18e7cb47ac8d55899c1d5b8dcddb679d6c1ed289",
  "_expires": "2027-01-12T10:48:23.000Z",
  "_created": "2026-10-04T10:44:51.000Z",
  "_published": "2026-10-04T10:48:25.288Z",
  "_jobs": [
    {
      "job": 111419023889,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301127689"
    },
    {
      "job": 111419023868,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301476907"
    },
    {
      "job": 111419023915,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11301576209"
    },
    {
      "job": 111419023838,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301222450"
    },
    {
      "job": 111418542419,
      "time": 170,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300592900"
    },
    {
      "job": 111419023861,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11301480972"
    },
    {
      "job": 111419023874,
      "time": 76,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301441791"
    },
    {
      "job": 111419023818,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11300983070"
    },
    {
      "job": 111419023871,
      "time": 74,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300848766"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835",
  "_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": "resolute",
  "_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": 17,
  "_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": 18167,
    "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": 560,
  "_rbuild": "4.6.1",
  "_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",
    "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": 11.241380696683946,
  "_indexed": true,
  "_nocasepkg": "origami",
  "_universes": [
    "tlverse",
    "nhejazi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-10-04T10:46:54.000Z",
      "distro": "resolute",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/3edcf01918207f9acf5374d161530c08f5b8f063b40d979aa6e65f7eb5ded20c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-10-04T10:47:32.000Z",
      "distro": "resolute",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/95ece80480202fddd9c79920f8213856976291ceae9d1d24ba21c5bbebff0463",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-10-04T10:47:02.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/6ff32685d2cef9c60cde3a532f7bddefb7d738d6c44e60a5d0f9ce91766edbde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-10-04T10:46:51.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/18524cf4e519b206d2e0dfe1a0053822120ce5c16b34546a88391a3e1880e884",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-10-04T10:46:58.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/ddf859135d0a982ef1f2524b92c35e3caa2822c13e10986a4ccd6e053428513f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-04T10:45:52.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/9fcf7de8b52185a8db3457e68c7a34abdd2f3219d1bdf7e6b0c41bee71bbad98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-04T10:46:22.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/21d7f644b8e949f2427669f16b7030f0f86be83cf1d1fb8ae24da75f80873937",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-10-04T10:45:56.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "https://r2.ropensci.org/529a49c85e06797176c7ff6f30b0cd639a0105ce3dc9b9c9b71e0a47a47403d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/37196190835"
    }
  ]
}