{
  "_id": "6b0c809675ab5e50c7686bcd",
  "Package": "dataexcept",
  "Title": "Structured, Classed Failures that Cross Language Boundaries",
  "Version": "0.4.2",
  "Authors@R": "person(\"Diogo\", \"Ribeiro\", email = \"dfr@esmad.ipp.pt\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0009-0001-2022-7072\"))",
  "Description": "Classed error conditions for data and modelling workflows\nthat carry structured fields and machine-readable recovery\nmetadata (whether a failure is transient or permanent, and\nwhether a retry can succeed), and that serialise to the\nlanguage-neutral failure envelope published by the 'DataExcept'\n'Python' package, so failures written by 'R' and 'Python' code\nshare one format. Envelopes from either language can be read\nback into 'R' conditions. Credentials in URLs are redacted\nbefore they reach a condition or an envelope. A companion layer\ngives classes to the warnings base 'R' and 'stats' signal with\nonly a message, recognising them through the translated message\ncatalogue so the match holds in any session language.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/DiogoRibeiro7/r-dataexcept,\nhttps://diogoribeiro7.github.io/r-dataexcept/",
  "BugReports": "https://github.com/DiogoRibeiro7/r-dataexcept/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-29 19:41:39 UTC",
    "User": "root"
  },
  "Author": "Diogo Ribeiro [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0001-2022-7072>)",
  "Maintainer": "Diogo Ribeiro <dfr@esmad.ipp.pt>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-29 11:00:08 UTC",
  "RemoteUrl": "https://github.com/cran/dataexcept",
  "RemoteRef": "HEAD",
  "RemoteSha": "fa2e3974c34294aec45db1cef48238b23beceaf8",
  "_user": "cran",
  "_type": "src",
  "_file": "dataexcept_0.4.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/a4de67215f98e3efd0b3a4083d054584bd607203f519c85eacecab9f359979aa",
  "_filesize": 339577,
  "_sha256": "a4de67215f98e3efd0b3a4083d054584bd607203f519c85eacecab9f359979aa",
  "_expires": "2027-03-09T19:44:21.000Z",
  "_created": "2026-11-29T19:41:39.000Z",
  "_published": "2026-11-29T19:44:22.900Z",
  "_upstream": "https://github.com/cran/dataexcept",
  "_status": "success",
  "_maintainer": {
    "name": "Diogo Ribeiro",
    "email": "dfr@esmad.ipp.pt",
    "login": "diogoribeiro7",
    "linkedin": "in/diogo-ribeiro-9094604a",
    "orcid": "0009-0001-2022-7072",
    "description": "Lead Data Scientist | AI Engineer | Professor | LLMs, RAG, AI Agents, Forecasting, Anomaly Detection | End to End Production AI Systems | Mathematical Engineer",
    "uuid": 15965640
  },
  "_jobs": [
    {
      "job": 141469889713,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15326472526"
    },
    {
      "job": 141469889671,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15325849174"
    },
    {
      "job": 141468972902,
      "time": 187,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15325514972"
    },
    {
      "job": 141469889683,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15326532132"
    },
    {
      "job": 141469889694,
      "time": 95,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15326173882"
    },
    {
      "job": 141469889792,
      "time": 92,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15325759515"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/46302037280",
  "_commit": {
    "id": "fa2e3974c34294aec45db1cef48238b23beceaf8",
    "author": "Diogo Ribeiro <dfr@esmad.ipp.pt>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.2\n",
    "time": 1795950008
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "otel",
      "version": ">= 0.2.0",
      "role": "Suggests"
    },
    {
      "package": "otelsdk",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.7",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-48",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.2",
      "date": "2026-11-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "diogoribeiro7",
      "count": 1,
      "uuid": 15965640
    }
  ],
  "_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/dataexcept"
  },
  "_devurl": "https://github.com/diogoribeiro7/r-dataexcept",
  "_searchresults": 7,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dataexcept.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.4.2",
      "date": "2026-11-29"
    }
  ],
  "_authors": [
    {
      "name": "Diogo Ribeiro",
      "email": "dfr@esmad.ipp.pt",
      "orcid": "0009-0001-2022-7072",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    }
  ],
  "_exports": [
    "api_error",
    "authentication_error",
    "authorization_error",
    "batch_processing_error",
    "classed_warning_rules",
    "classify_warning",
    "collect_errors",
    "condition_failure",
    "condition_group",
    "condition_to_envelope",
    "condition_to_event",
    "condition_to_event_json",
    "condition_to_json",
    "condition_to_otel_attributes",
    "condition_to_pino",
    "condition_to_pino_json",
    "condition_type",
    "configuration_error",
    "connection_timeout_error",
    "convergence_error",
    "cross_validation_error",
    "data_drift_error",
    "data_format_error",
    "data_imbalance_error",
    "data_leakage_error",
    "data_loading_error",
    "data_transformation_error",
    "database_connection_error",
    "dataexcept_classes",
    "dtype_mismatch_error",
    "envelope_schema",
    "envelope_schema_id",
    "envelope_schema_version",
    "envelope_to_condition",
    "envelope_to_pino",
    "etl_job_error",
    "external_service_error",
    "failure_metadata",
    "file_read_error",
    "file_write_error",
    "group_members",
    "host_unreachable_error",
    "hyperparameter_error",
    "is_envelope",
    "is_retryable",
    "merge_key_error",
    "missing_column_error",
    "missing_data_error",
    "model_evaluation_error",
    "model_serialization_error",
    "model_training_error",
    "new_dataexcept_error",
    "operation_context",
    "operation_context_from_otel",
    "operation_index_fields",
    "operation_timeout_error",
    "outlier_detection_error",
    "overfitting_error",
    "pino_schema",
    "prediction_error",
    "query_execution_error",
    "record_otel_exception",
    "redact_url",
    "redact_urls_in_text",
    "resource_limit_error",
    "resource_not_found_error",
    "retry_limit_exceeded_error",
    "schema_mismatch_error",
    "service_authentication_error",
    "service_authorization_error",
    "service_timeout_error",
    "storage_error",
    "training_timeout_error",
    "transaction_error",
    "underfitting_error",
    "validate_envelope",
    "validation_error",
    "with_classed_warnings",
    "with_failure_metadata",
    "wrap_errors"
  ],
  "_help": [
    {
      "page": "condition_failure",
      "title": "Read the failure metadata of a condition",
      "topics": [
        "condition_failure",
        "is_retryable"
      ]
    },
    {
      "page": "condition_group",
      "title": "Report several failures as one",
      "topics": [
        "collect_errors",
        "condition_group",
        "group_members"
      ]
    },
    {
      "page": "condition_to_envelope",
      "title": "Write a condition as a DataExcept envelope",
      "topics": [
        "condition_to_envelope",
        "condition_to_json",
        "condition_type"
      ]
    },
    {
      "page": "condition_to_event",
      "title": "A failure event for logs and observability tools",
      "topics": [
        "condition_to_event",
        "condition_to_event_json"
      ]
    },
    {
      "page": "condition_to_otel_attributes",
      "title": "OpenTelemetry attributes for a condition",
      "topics": [
        "condition_to_otel_attributes"
      ]
    },
    {
      "page": "condition_to_pino",
      "title": "Write a condition in the shape Pino logs errors",
      "topics": [
        "condition_to_pino",
        "condition_to_pino_json",
        "envelope_to_pino"
      ]
    },
    {
      "page": "data_engineering_errors",
      "title": "Data engineering failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "batch_processing_error",
        "data_engineering_errors",
        "data_transformation_error",
        "etl_job_error"
      ]
    },
    {
      "page": "data_frame_errors",
      "title": "Data frame failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "data_frame_errors",
        "dtype_mismatch_error",
        "merge_key_error",
        "missing_column_error"
      ]
    },
    {
      "page": "data_quality_errors",
      "title": "Data quality failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "data_drift_error",
        "data_format_error",
        "data_imbalance_error",
        "data_leakage_error",
        "data_quality_errors",
        "outlier_detection_error",
        "schema_mismatch_error"
      ]
    },
    {
      "page": "dataexcept_classes",
      "title": "The dataexcept condition classes",
      "topics": [
        "dataexcept_classes"
      ]
    },
    {
      "page": "envelope_schema",
      "title": "The envelope JSON Schema",
      "topics": [
        "envelope_schema",
        "envelope_schema_id",
        "envelope_schema_version"
      ]
    },
    {
      "page": "envelope_to_condition",
      "title": "Read a DataExcept envelope back into an R condition",
      "topics": [
        "envelope_to_condition"
      ]
    },
    {
      "page": "failure_metadata",
      "title": "Describe whether a failure can be recovered from",
      "topics": [
        "failure_metadata",
        "with_failure_metadata"
      ]
    },
    {
      "page": "file_errors",
      "title": "File failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "file_errors",
        "file_read_error",
        "file_write_error"
      ]
    },
    {
      "page": "job_errors",
      "title": "Job failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "authentication_error",
        "authorization_error",
        "configuration_error",
        "job_errors",
        "operation_timeout_error",
        "resource_not_found_error"
      ]
    },
    {
      "page": "model_quality_errors",
      "title": "Model evaluation and training failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "cross_validation_error",
        "hyperparameter_error",
        "model_evaluation_error",
        "model_quality_errors",
        "model_serialization_error",
        "overfitting_error",
        "resource_limit_error",
        "training_timeout_error",
        "underfitting_error"
      ]
    },
    {
      "page": "modelling_errors",
      "title": "Data and modelling failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "convergence_error",
        "data_loading_error",
        "missing_data_error",
        "modelling_errors",
        "model_training_error",
        "prediction_error"
      ]
    },
    {
      "page": "new_dataexcept_error",
      "title": "Create a dataexcept error",
      "topics": [
        "new_dataexcept_error"
      ]
    },
    {
      "page": "operation_context",
      "title": "Describe where an operation is running",
      "topics": [
        "operation_context",
        "operation_index_fields"
      ]
    },
    {
      "page": "operation_context_from_otel",
      "title": "Correlate an operation context with the active OpenTelemetry span",
      "topics": [
        "operation_context_from_otel"
      ]
    },
    {
      "page": "pino_schema",
      "title": "The Pino profile JSON Schema",
      "topics": [
        "pino_schema"
      ]
    },
    {
      "page": "pipeline_errors",
      "title": "Pipeline and external service failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "external_service_error",
        "pipeline_errors",
        "retry_limit_exceeded_error",
        "service_authentication_error",
        "service_authorization_error",
        "service_timeout_error",
        "storage_error"
      ]
    },
    {
      "page": "record_otel_exception",
      "title": "Record a condition on an OpenTelemetry span",
      "topics": [
        "record_otel_exception"
      ]
    },
    {
      "page": "redact_url",
      "title": "Remove credentials from URLs",
      "topics": [
        "redact_url",
        "redact_urls_in_text"
      ]
    },
    {
      "page": "service_errors",
      "title": "Database, network and service failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "api_error",
        "connection_timeout_error",
        "database_connection_error",
        "host_unreachable_error",
        "query_execution_error",
        "service_errors",
        "transaction_error"
      ]
    },
    {
      "page": "validate_envelope",
      "title": "Check that a payload is a valid envelope",
      "topics": [
        "is_envelope",
        "validate_envelope"
      ]
    },
    {
      "page": "validation_error",
      "title": "Validation failures",
      "concept": [
        "dataexcept errors"
      ],
      "topics": [
        "validation_error"
      ]
    },
    {
      "page": "with_classed_warnings",
      "title": "Give base R's text-only warnings a class",
      "topics": [
        "classed_warning_rules",
        "classify_warning",
        "with_classed_warnings"
      ]
    },
    {
      "page": "wrap_errors",
      "title": "Turn errors from an expression into a dataexcept error",
      "topics": [
        "wrap_errors"
      ]
    }
  ],
  "_readme": "https://github.com/cran/dataexcept/raw/HEAD/README.md",
  "_rundeps": [
    "jsonlite"
  ],
  "_vignettes": [
    {
      "source": "structured-failures.Rmd",
      "filename": "structured-failures.html",
      "title": "Structured failures across R and Python",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Catch a specific failure",
        "Record retryability",
        "Produce a JSON envelope",
        "Read an envelope written by Python",
        "Add operational context",
        "Further reading"
      ],
      "created": "2026-11-29 11:00:08",
      "modified": "2026-11-29 11:00:08",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "dataexcept",
  "_universes": [
    "cran",
    "diogoribeiro7"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-11-29T19:43:44.000Z",
      "distro": "resolute",
      "commit": "fa2e3974c34294aec45db1cef48238b23beceaf8",
      "fileid": "https://r2.ropensci.org/40cc689339de36f5aa3dc88bd48542ff3ff12984c2df99941af980e38a7e0f30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/46302037280"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-11-29T19:43:38.000Z",
      "distro": "resolute",
      "commit": "fa2e3974c34294aec45db1cef48238b23beceaf8",
      "fileid": "https://r2.ropensci.org/a6642e0294cf623c658ec620930d7a4b9857d29002c3211539651d896493b35a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/46302037280"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-11-29T19:43:36.000Z",
      "commit": "fa2e3974c34294aec45db1cef48238b23beceaf8",
      "fileid": "https://r2.ropensci.org/c2374d875b2d5e6c2bb85024749b6d1ea7a06e69217f1ad81ec826ebaa49bef4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/46302037280"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-11-29T19:42:59.000Z",
      "commit": "fa2e3974c34294aec45db1cef48238b23beceaf8",
      "fileid": "https://r2.ropensci.org/946681caed503001dee424b2efe66641633e942d6902531f721941d64903da60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/46302037280"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-11-29T19:43:01.000Z",
      "commit": "fa2e3974c34294aec45db1cef48238b23beceaf8",
      "fileid": "https://r2.ropensci.org/8224a138ae61dbcbac67c120c332b13a64d4c15d9621b053c7779eb33e1a7ffe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/46302037280"
    }
  ]
}