{
  "_id": "6a1241a3acfb0bcc41d080c0",
  "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-05-24 00:05:44 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>)",
  "MD5sum": "6f89dc88320d7c4e3d785651872172aa",
  "_user": "tlverse",
  "_type": "src",
  "_file": "origami_1.0.8.tar.gz",
  "_fileid": "b6d460b1daff5a45cc2b38e759aaf64ea5d2b0db3f7e17c8a9cf216aeaa26849",
  "_filesize": 162700,
  "_sha256": "b6d460b1daff5a45cc2b38e759aaf64ea5d2b0db3f7e17c8a9cf216aeaa26849",
  "_created": "2026-05-24T00:05:44.000Z",
  "_published": "2026-05-24T00:09:07.138Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77558581329,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7180760713"
    },
    {
      "job": 77558581326,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7180757904"
    },
    {
      "job": 77558581338,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7180753914"
    },
    {
      "job": 77558581330,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7180753631"
    },
    {
      "job": 77558392874,
      "time": 227,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7180746621"
    },
    {
      "job": 77558581319,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7180757125"
    },
    {
      "job": 77558581350,
      "time": 127,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7180757277"
    },
    {
      "job": 77558581336,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7180753397"
    },
    {
      "job": 77558581337,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7180754958"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 27,
  "_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",
    "description": "Ecosystem of R packages for targeted (causal) machine learning"
  },
  "_downloads": {
    "count": 4795,
    "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": 582,
  "_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.637497843738771,
  "_indexed": true,
  "_nocasepkg": "origami",
  "_universes": [
    "tlverse",
    "nhejazi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-05-24T00:08:27.000Z",
      "distro": "noble",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "8795f5ac44c072d5de969ef5e9540d69845f4d53269af6c6441c07b8aa63339f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-05-24T00:08:00.000Z",
      "distro": "noble",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "e35429261d97ec2b1ee386c52f9b103088db378b4b023268ddb13cf7a0b19362",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-05-24T00:07:16.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "fafe55b52f9f955890f901249bfa0e887b5f51182d1c7194a051fa401dad4048",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-05-24T00:07:13.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "c97673b8946e403502c2d17ca9f782015a1ee7ea92ca90a57f7bda7312d2bc7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-05-24T00:08:10.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "41e23dff9741054823d9d20bc14ba257193e541180205e398cb87a1c20e5cdf7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-24T00:07:45.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "0c2f59451eaedc7277ba5797b1ac56aa84dcd29527655e8c2002b866d13bf6cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-24T00:06:56.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "5144f58efda7566c3db577fdd7552b4db2f84baaa434917789973b4bd4622e4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-24T00:07:14.000Z",
      "commit": "367d9a757cec5be9f10dbc0aa229bf6ad0a6823e",
      "fileid": "6a7737e4e292c96365fdb83ae0142bdbc60a5e7db2db630549dff045aea1dc1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tlverse/actions/runs/26346983126"
    }
  ]
}