{
  "_id": "6b131f665a51d72bd77d8c40",
  "Package": "stamp",
  "Title": "Reproducible Artifact Store with Sidecars and Version History",
  "Description": "Stores 'R' objects with sidecar metadata, including\nhashes, provenance, and primary keys. Keeps an immutable\nversion history and removes older versions according to\nretention policies. Tracks changes and dependencies so that\nanalytical outputs remain traceable and reproducible across\nsessions.",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\"R.Andres\", \"Castaneda\",\nemail = \"acastanedaa@worldbank.org\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-1154-1374\")),\nperson(\"Diana C.\", \"Garcia Rojas\",\nemail = \"dgarciarojas@worldbank.org\",\nrole = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-9423-3865\")))",
  "URL": "https://randrescastaneda.github.io/stamp/,\nhttps://github.com/randrescastaneda/stamp",
  "BugReports": "https://github.com/randrescastaneda/stamp/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-12-04 20:09:40 UTC",
    "User": "root"
  },
  "Author": "R.Andres Castaneda [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-1154-1374>), Diana C. Garcia Rojas\n[aut, cph] (ORCID: <https://orcid.org/0000-0001-9423-3865>)",
  "Maintainer": "R.Andres Castaneda <acastanedaa@worldbank.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-12-04 19:22:04 UTC",
  "RemoteUrl": "https://github.com/cran/stamp",
  "RemoteRef": "HEAD",
  "RemoteSha": "8270f6030b86e06c5f65a5e687f3afca2abf229e",
  "_user": "cran",
  "_type": "src",
  "_file": "stamp_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/2fb2208031434950f295ef2d4d2ad13dc2997fbfa4b8a57a018106c960ca5fc5",
  "_filesize": 574811,
  "_sha256": "2fb2208031434950f295ef2d4d2ad13dc2997fbfa4b8a57a018106c960ca5fc5",
  "_expires": "2027-03-14T20:15:32.000Z",
  "_created": "2026-12-04T20:09:40.000Z",
  "_published": "2026-12-04T20:15:34.968Z",
  "_upstream": "https://github.com/cran/stamp",
  "_status": "success",
  "_maintainer": {
    "name": "R.Andres Castaneda",
    "email": "acastanedaa@worldbank.org",
    "login": "randrescastaneda",
    "description": "Senior Economist/Data Scientist",
    "uuid": 35301997,
    "orcid": "0000-0003-1154-1374"
  },
  "_jobs": [
    {
      "job": 145331004546,
      "time": 251,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15883263768"
    },
    {
      "job": 145331004465,
      "time": 263,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15884206655"
    },
    {
      "job": 145328798175,
      "time": 215,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15884775595"
    },
    {
      "job": 145331004406,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15885321421"
    },
    {
      "job": 145331004474,
      "time": 247,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15884616357"
    },
    {
      "job": 145331004460,
      "time": 305,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15885307062"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/47415103431",
  "_commit": {
    "id": "8270f6030b86e06c5f65a5e687f3afca2abf229e",
    "author": "R.Andres Castaneda <acastanedaa@worldbank.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1796412124
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.4.1",
      "role": "Imports"
    },
    {
      "package": "fs",
      "version": ">= 1.5.2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "secretbase",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.14.6",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "nanoparquet",
      "role": "Imports"
    },
    {
      "package": "qs2",
      "role": "Imports"
    },
    {
      "package": "fst",
      "version": ">= 0.9.8",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.5",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "filelock",
      "role": "Suggests"
    },
    {
      "package": "collapse",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "callr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-12-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "randrescastaneda",
      "count": 1,
      "uuid": 35301997
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stamp"
  },
  "_devurl": "https://github.com/randrescastaneda/stamp",
  "_pkgdown": "https://randrescastaneda.github.io/stamp/",
  "_searchresults": 21,
  "_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/readme.html",
    "extra/readme.md",
    "extra/stamp.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-12-04"
    }
  ],
  "_authors": [
    {
      "name": "R.Andres Castaneda",
      "email": "acastanedaa@worldbank.org",
      "orcid": "0000-0003-1154-1374",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    },
    {
      "name": "Diana C. Garcia Rojas",
      "email": "dgarciarojas@worldbank.org",
      "orcid": "0000-0001-9423-3865",
      "role": [
        "aut",
        "cph"
      ]
    }
  ],
  "_exports": [
    "st_add_pk",
    "st_alias_get",
    "st_alias_list",
    "st_builders",
    "st_catalog_query",
    "st_changed",
    "st_changed_reason",
    "st_children",
    "st_clear_builders",
    "st_execution_info",
    "st_filter",
    "st_formats",
    "st_get_pk",
    "st_hash_obj",
    "st_info",
    "st_init",
    "st_inspect_pk",
    "st_is_stale",
    "st_latest",
    "st_lineage",
    "st_load",
    "st_load_version",
    "st_opts",
    "st_opts_get",
    "st_opts_reset",
    "st_pk",
    "st_plan_rebuild",
    "st_prune_versions",
    "st_read_sidecar",
    "st_rebuild",
    "st_record_outcome",
    "st_register_builder",
    "st_register_format",
    "st_restore",
    "st_save",
    "st_should_save",
    "st_switch",
    "st_versions",
    "st_with_pk"
  ],
  "_help": [
    {
      "page": "st_add_pk",
      "title": "Add or repair primary-key metadata in an artifact sidecar",
      "topics": [
        "st_add_pk"
      ]
    },
    {
      "page": "st_alias_get",
      "title": "Get a registered alias configuration",
      "topics": [
        "st_alias_get"
      ]
    },
    {
      "page": "st_alias_list",
      "title": "List registered stamp aliases in the current session",
      "topics": [
        "st_alias_list"
      ]
    },
    {
      "page": "st_builders",
      "title": "List registered builders",
      "topics": [
        "st_builders"
      ]
    },
    {
      "page": "st_catalog_query",
      "title": "Query latest version metadata for all artifacts in an alias",
      "concept": [
        "version-store"
      ],
      "topics": [
        "st_catalog_query"
      ]
    },
    {
      "page": "st_changed",
      "title": "Check whether an artifact would change if saved now",
      "topics": [
        "st_changed"
      ]
    },
    {
      "page": "st_changed_reason",
      "title": "Explain why an artifact would change",
      "topics": [
        "st_changed_reason"
      ]
    },
    {
      "page": "st_children",
      "title": "List children (reverse lineage) of an artifact",
      "topics": [
        "st_children"
      ]
    },
    {
      "page": "st_clear_builders",
      "title": "Clear all builders (or only those for a given path)",
      "topics": [
        "st_clear_builders"
      ]
    },
    {
      "page": "st_execution_info",
      "title": "Inspect durable execution proof without loading artifact data",
      "topics": [
        "st_execution_info"
      ]
    },
    {
      "page": "st_filter",
      "title": "Filter a data.frame by primary-key values (or arbitrary columns)",
      "topics": [
        "st_filter"
      ]
    },
    {
      "page": "st_formats",
      "title": "Inspect available formats",
      "topics": [
        "st_formats"
      ]
    },
    {
      "page": "st_get_pk",
      "title": "Read primary-key keys from a data.frame or sidecar/meta list",
      "topics": [
        "st_get_pk"
      ]
    },
    {
      "page": "st_hash_obj",
      "title": "Stable SipHash-1-3 of an R object",
      "topics": [
        "st_hash_obj"
      ]
    },
    {
      "page": "st_info",
      "title": "Inspect an artifact's current status (sidecar + catalog + snapshot location)",
      "topics": [
        "st_info"
      ]
    },
    {
      "page": "st_init",
      "title": "Initialize stamp project structure",
      "topics": [
        "st_init"
      ]
    },
    {
      "page": "st_inspect_pk",
      "title": "Inspect primary-key of an artifact from its sidecar",
      "topics": [
        "st_inspect_pk"
      ]
    },
    {
      "page": "st_is_stale",
      "title": "Inspect parent staleness or requested artifact currentness",
      "topics": [
        "st_is_stale"
      ]
    },
    {
      "page": "st_latest",
      "title": "Get the latest version_id for an artifact path",
      "topics": [
        "st_latest"
      ]
    },
    {
      "page": "st_lineage",
      "title": "Show immediate or recursive parents for an artifact",
      "topics": [
        "st_lineage"
      ]
    },
    {
      "page": "st_load",
      "title": "Load an object from disk (format auto-detected; optional integrity checks)",
      "topics": [
        "st_load"
      ]
    },
    {
      "page": "st_load_version",
      "title": "Load a specific version of an artifact",
      "topics": [
        "st_load_version"
      ]
    },
    {
      "page": "st_opts",
      "title": "Get or set package options",
      "topics": [
        "st_opts"
      ]
    },
    {
      "page": "st_opts_get",
      "title": "Convenience getter (optional sugar)",
      "topics": [
        "st_opts_get"
      ]
    },
    {
      "page": "st_opts_reset",
      "title": "Reset all options to package defaults",
      "topics": [
        "st_opts_reset"
      ]
    },
    {
      "page": "st_pk",
      "title": "Normalize a primary-key specification",
      "topics": [
        "st_pk"
      ]
    },
    {
      "page": "st_plan_rebuild",
      "title": "Plan a rebuild of descendants when parents changed",
      "topics": [
        "st_plan_rebuild"
      ]
    },
    {
      "page": "st_prune_versions",
      "title": "Prune stored versions according to a retention policy",
      "topics": [
        "st_prune_versions"
      ]
    },
    {
      "page": "st_read_sidecar",
      "title": "Read current or exact historical sidecar metadata",
      "topics": [
        "st_read_sidecar"
      ]
    },
    {
      "page": "st_rebuild",
      "title": "Rebuild planned artifacts in dependency order",
      "topics": [
        "st_rebuild"
      ]
    },
    {
      "page": "st_record_outcome",
      "title": "Record externally classified failed or blocked execution facts",
      "topics": [
        "st_record_outcome"
      ]
    },
    {
      "page": "st_register_builder",
      "title": "Register a builder for an artifact path",
      "topics": [
        "st_register_builder"
      ]
    },
    {
      "page": "st_register_format",
      "title": "Register or override a format handler",
      "topics": [
        "st_register_format"
      ]
    },
    {
      "page": "st_restore",
      "title": "Restore artifact to a previous version",
      "topics": [
        "st_restore"
      ]
    },
    {
      "page": "st_save",
      "title": "Save an R object to disk with metadata & versioning (atomic move)",
      "topics": [
        "st_save"
      ]
    },
    {
      "page": "st_should_save",
      "title": "Decide if a save should proceed given current st_opts() Uses versioning policy and code-change rule.",
      "topics": [
        "st_should_save"
      ]
    },
    {
      "page": "st_switch",
      "title": "Switch the session's default alias",
      "topics": [
        "st_switch"
      ]
    },
    {
      "page": "st_versions",
      "title": "List versions for an artifact path",
      "topics": [
        "st_versions"
      ]
    },
    {
      "page": "st_with_pk",
      "title": "Attach primary-key metadata to a data.frame (in-memory)",
      "topics": [
        "st_with_pk"
      ]
    }
  ],
  "_readme": "https://github.com/cran/stamp/raw/HEAD/README.md",
  "_rundeps": [
    "charport",
    "cli",
    "data.table",
    "fs",
    "jsonlite",
    "nanoparquet",
    "qs2",
    "Rcpp",
    "RcppParallel",
    "rlang",
    "secretbase"
  ],
  "_vignettes": [
    {
      "source": "builders-plans.Rmd",
      "filename": "builders-plans.html",
      "title": "Builders, Plans, and Rebuilds",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Key concepts",
        "Minimal example (single-target)",
        "Multi-function code metadata",
        "Legacy Modes: Strict And Propagate",
        "Tips & best practices",
        "Try it locally",
        "Appendix: example plan interpretation",
        "Request-Aware Execution",
        "Retained Output And Failures",
        "Typed Semantic History"
      ],
      "created": "2026-12-04 19:22:04",
      "modified": "2026-12-04 19:22:04",
      "commits": 1
    },
    {
      "source": "hashing-and-versions.Rmd",
      "filename": "hashing-and-versions.html",
      "title": "Hashing, Change Detection and Versions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Recommended options",
        "Save with hashes (and skip if content identical)",
        "Inspect sidecars & metadata",
        "Change detection (without writing)",
        "Loading specific versions",
        "Where are versions stored?",
        "Integrity checks on load (optional)",
        "Troubleshooting",
        "Tips & conventions"
      ],
      "created": "2026-12-04 19:22:04",
      "modified": "2026-12-04 19:22:04",
      "commits": 1
    },
    {
      "source": "lineage-rebuilds.Rmd",
      "filename": "lineage-rebuilds.html",
      "title": "Lineage and Rebuilds",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup a tiny graph A → B(A) → C(B)",
        "Inspect lineage",
        "Make a change upstream & detect staleness",
        "Plan rebuilds",
        "Register builders and rebuild in level order",
        "Inspect snapshots on disk",
        "Takeaways"
      ],
      "created": "2026-12-04 19:22:04",
      "modified": "2026-12-04 19:22:04",
      "commits": 1
    },
    {
      "source": "setup-and-basics.Rmd",
      "filename": "setup-and-basics.html",
      "title": "Setup and Basics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Initialize a project",
        "2. Options (st_opts())",
        "3. Paths and format registry",
        "4. Save & load (atomic, with sidecar metadata)",
        "4.1 Loading specific versions",
        "5. Sidecars (quick metadata)",
        "6. Versions, lineage, and inspection",
        "7. Primary-key helpers (optional)",
        "8. Retention / pruning",
        "9. Tips and conventions"
      ],
      "created": "2026-12-04 19:22:04",
      "modified": "2026-12-04 19:22:04",
      "commits": 1
    },
    {
      "source": "stamp.Rmd",
      "filename": "stamp.html",
      "title": "Stamp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Problem",
        "The Solution",
        "Harmonizing Economic Indicators with Versioning & Lineage",
        "1. Simulate and Save Input Micro Data",
        "2. Simulate and Save Macro Data (CPI, GDP, Population)",
        "3. Aggregation Function foo() and Output Table",
        "4. Modify CPI (COL 2012) → New Version & Staleness",
        "Builders, plans and rebuilds — concepts and how we use them here",
        "5. Add New Data (ARG 2015 Welfare)",
        "6. Summary"
      ],
      "created": "2026-12-04 19:22:04",
      "modified": "2026-12-04 19:22:04",
      "commits": 1
    },
    {
      "source": "stamp-directory.Rmd",
      "filename": "stamp-directory.html",
      "title": "The .stamp Directory: Structure and Internals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "1. Creation and Initialization",
        "1.1 Creating .stamp/ with st_init()",
        "1.2 Re-running st_init(): Safe and Non-Destructive",
        "2. Directory Structure Explained",
        "2.1 High-Level Layout",
        "2.2 State Directory: .stamp/",
        "2.3 The Catalog: catalog.qs2",
        "2.4 Version Snapshots: Per-Artifact versions/",
        "2.5 Artifact Storage: Direct-Path Model",
        "Why This Structure?",
        "Real-World Example",
        "Loading Artifacts",
        "3. How Versioning Works",
        "3.1 The Version Creation Process",
        "3.2 Version Identifiers",
        "3.3 Versioning Modes",
        "4. Developer Details",
        "4.1 Key Internal Functions",
        "4.2 Concurrency and Safety",
        "File-Based Locking Explained",
        "Atomic Operations",
        "5. Inspecting .stamp/ Programmatically",
        "5.1 User-Level Inspection",
        "5.2 Direct Catalog Access (Advanced)",
        "5.3 Exploring Snapshots",
        "6. Troubleshooting",
        "6.1 Missing or Corrupt .stamp/ Directory",
        "6.2 Catalog Schema Mismatch",
        "6.3 Disk Space Issues",
        "6.4 Version Timestamp Issues",
        "6.5 Lock File Issues",
        "7. Best Practices",
        "7.1 Version Control Integration",
        "7.2 Backup Strategy",
        "8. Summary",
        "Further Reading"
      ],
      "created": "2026-12-04 19:22:04",
      "modified": "2026-12-04 19:22:04",
      "commits": 1
    },
    {
      "source": "using-alias.Rmd",
      "filename": "using-alias.html",
      "title": "Using Aliases with stamp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Setup",
        "Saving and Loading with Aliases",
        "Switching the Default Alias",
        "Constraints and Conflicts",
        "Best Practices",
        "Troubleshooting",
        "Notes"
      ],
      "created": "2026-12-04 19:22:04",
      "modified": "2026-12-04 19:22:04",
      "commits": 1
    },
    {
      "source": "version_retention_prune.Rmd",
      "filename": "version_retention_prune.html",
      "title": "Version Retention, Pruning, and Table Metadata",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Minimal project scaffold (temp)",
        "Ad-hoc pruning (explicit runs)",
        "Keep the n latest for a specific artifact",
        "Keep by recency window across the entire catalog",
        "Combine count + recency (union semantics)",
        "Automatic pruning (on every st_save())",
        "Primary-key metadata & load-time checks",
        "Record PK at save time (recommended)",
        "Inspect / repair PK later",
        "Load-time behavior & options",
        "Why PKs matter (joins & merges)",
        "Catalog corruption & safety",
        "Sidecar metadata (quick reference)",
        "Recommendations & Recipes",
        "FAQ"
      ],
      "created": "2026-12-04 19:22:04",
      "modified": "2026-12-04 19:22:04",
      "commits": 1
    }
  ],
  "_score": 3.9242792860618816,
  "_indexed": true,
  "_nocasepkg": "stamp",
  "_universes": [
    "cran",
    "randrescastaneda"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-12-04T20:12:03.000Z",
      "distro": "resolute",
      "commit": "8270f6030b86e06c5f65a5e687f3afca2abf229e",
      "fileid": "https://r2.ropensci.org/2da2515ec4668a888fcd607e1a248f7e42fc600a597cb90a6bbc2016e45e467d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47415103431"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-12-04T20:12:03.000Z",
      "distro": "resolute",
      "commit": "8270f6030b86e06c5f65a5e687f3afca2abf229e",
      "fileid": "https://r2.ropensci.org/4a2a2d1a4b4e8753f7e6c732e7ad98f7e4d2be8e3cea18fcfa341b91aa8c6d6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47415103431"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-12-04T20:12:05.000Z",
      "commit": "8270f6030b86e06c5f65a5e687f3afca2abf229e",
      "fileid": "https://r2.ropensci.org/1774fe3f7301fb2d6e56e4e53cfb91ade0e5d5c1440c173ce4ff5cb4d92ca9c0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47415103431"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-12-04T20:10:45.000Z",
      "commit": "8270f6030b86e06c5f65a5e687f3afca2abf229e",
      "fileid": "https://r2.ropensci.org/172e3bb7fe42b3f7d184bfaadbf77e59b47a7ef01b1cce6860953552c17b4b5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47415103431"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-12-04T20:11:05.000Z",
      "commit": "8270f6030b86e06c5f65a5e687f3afca2abf229e",
      "fileid": "https://r2.ropensci.org/ab27f957053bc13c6f7f684c37b40ce159b8a4575be4d87cc5673577308870ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47415103431"
    }
  ]
}