{
  "_id": "6a1e86ff1d7bb097a0a6789f",
  "Package": "result",
  "Title": "Result Type for Safely Handling Operations that can Succeed or\nFail",
  "Version": "0.1.0",
  "Authors@R": "person(\"Soumya\", \"Ray\", , \"soumya.ray@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-7497-3281\"))",
  "Description": "Allows wrapping values in success() and failure() types to\ncapture the result of operations, along with any status codes.\nRisky expressions can be wrapped in as_result() and functions\nwrapped in result() to catch errors and assign the relevant\nresult types. Monadic functions can be bound together as\npipelines or transaction scripts using then_try(), to\ngracefully handle errors at any step.",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "License": "MIT + file LICENSE",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/soumyaray/result",
  "BugReports": "https://github.com/soumyaray/result/issues",
  "Repository": "https://soumyaray.r-universe.dev",
  "Date/Publication": "2023-11-22 00:15:13 UTC",
  "RemoteUrl": "https://github.com/soumyaray/result",
  "RemoteRef": "HEAD",
  "RemoteSha": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 07:29:52 UTC",
    "User": "root"
  },
  "Author": "Soumya Ray [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-7497-3281>)",
  "Maintainer": "Soumya Ray <soumya.ray@gmail.com>",
  "MD5sum": "1e85611d9292481d2f94c5d9a8871168",
  "_user": "soumyaray",
  "_type": "src",
  "_file": "result_0.1.0.tar.gz",
  "_fileid": "1fbf9a1b29123bbf7e7db5cd9f103bbe475eae227a39f8009470e47db86421f8",
  "_filesize": 99678,
  "_sha256": "1fbf9a1b29123bbf7e7db5cd9f103bbe475eae227a39f8009470e47db86421f8",
  "_created": "2026-06-02T07:29:52.000Z",
  "_published": "2026-06-02T07:32:15.948Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79020956600,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351565400"
    },
    {
      "job": 79020956597,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351564373"
    },
    {
      "job": 79020956545,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7351561163"
    },
    {
      "job": 79020956522,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351557605"
    },
    {
      "job": 79020592781,
      "time": 144,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351531174"
    },
    {
      "job": 79020956572,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351562621"
    },
    {
      "job": 79020956550,
      "time": 90,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351560614"
    },
    {
      "job": 79020956714,
      "time": 72,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7351554532"
    },
    {
      "job": 79020956488,
      "time": 64,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351552197"
    }
  ],
  "_buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/soumyaray/result",
  "_commit": {
    "id": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
    "author": "Soumya Ray <soumya.ray@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from soumyaray/release-0.1\n\nFirst Release 0.1.0",
    "time": 1700612113
  },
  "_maintainer": {
    "name": "Soumya Ray",
    "email": "soumya.ray@gmail.com",
    "login": "soumyaray",
    "description": "Researcher, Teacher, Coder",
    "uuid": 1926704,
    "orcid": "0000-0002-7497-3281"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "soumyaray",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "soumyaray",
      "count": 23,
      "uuid": 1926704
    }
  ],
  "_userbio": {
    "uuid": 1926704,
    "type": "user",
    "name": "Soumya Ray",
    "description": "Researcher, Teacher, Coder"
  },
  "_downloads": {
    "count": 334,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/result"
  },
  "_devurl": "https://github.com/soumyaray/result",
  "_searchresults": 940,
  "_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/readme.html",
    "extra/readme.md",
    "extra/result.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/soumyaray/result",
  "_realowner": "soumyaray",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-11-21"
    }
  ],
  "_exports": [
    "as_result",
    "bind",
    "failure",
    "is_failure",
    "is_result",
    "is_success",
    "result",
    "status",
    "success",
    "then_try",
    "value"
  ],
  "_help": [
    {
      "page": "as_result",
      "title": "Wraps an expression in 'result' type, choosing between 'success' and 'failure' based on the outcome of the expression.",
      "topics": [
        "as_result"
      ]
    },
    {
      "page": "bind",
      "title": "Binds a result with another result or function to return a result",
      "topics": [
        "bind",
        "then_try"
      ]
    },
    {
      "page": "failure",
      "title": "Wraps a value in 'failure' type of 'result'",
      "topics": [
        "failure"
      ]
    },
    {
      "page": "is_failure",
      "title": "Checks if an object is of 'failure' class",
      "topics": [
        "is_failure"
      ]
    },
    {
      "page": "is_result",
      "title": "Checks if an object is of 'result' class",
      "topics": [
        "is_result"
      ]
    },
    {
      "page": "is_success",
      "title": "Checks if an object is of 'success' class",
      "topics": [
        "is_success"
      ]
    },
    {
      "page": "result",
      "title": "Wraps a function in an 'result' monad for later evaluation.",
      "topics": [
        "result"
      ]
    },
    {
      "page": "status",
      "title": "Extracts the status of a 'result'",
      "topics": [
        "status"
      ]
    },
    {
      "page": "success",
      "title": "Wraps a value in 'success' type of 'result'",
      "topics": [
        "success"
      ]
    },
    {
      "page": "value",
      "title": "Extracts the value of a 'result'",
      "topics": [
        "value"
      ]
    }
  ],
  "_readme": "https://github.com/soumyaray/result/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 5.9273703630390235,
  "_indexed": true,
  "_nocasepkg": "result",
  "_universes": [
    "soumyaray"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-02T07:31:45.000Z",
      "distro": "noble",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "7131a71b2c6784a69d9fe3db9acb9fa87ca08d080a4d9c2260215160accc088b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-02T07:31:43.000Z",
      "distro": "noble",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "91447b707de071348939df8094870278ae01e6707717acb5ff634dc43927faf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-02T07:31:30.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "2276fd8b697d603a4c0d93a3ce3d5a260b5eaede2935a7c3188dc732127bb81f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-02T07:31:21.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "9a26ed440eb2f1421a97a19b6b48b4bb709d0efe261697cc0ad619c73746efc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T07:31:45.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "67a2aac94b5060b75b3552187e9cd9fb8f08d892fb279dcae0b41056d807501f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T07:31:25.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "c21053107c2d91f1d7109dcbf5d2d270ea6cbbaa2695910c9c0d3ae69c622f24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T07:31:06.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "b268fe33dcf8b0673f7cd3431ee35557407c33b129834e94f71c721352bd22f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-02T07:30:57.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "c99440ddb6cdedcad152bb31bf20cd5dafbea1ece783ce9a494e58cc3aef2f46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/26805100601"
    }
  ]
}