{
  "_id": "6ae452b23d0f299392dd242d",
  "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-10-30 07:52:36 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>",
  "_user": "soumyaray",
  "_type": "src",
  "_file": "result_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/01a3cc1d53e4473db56da0b67a19be5e3c98d5eab96f70c8ae915568c11305f5",
  "_filesize": 100339,
  "_sha256": "01a3cc1d53e4473db56da0b67a19be5e3c98d5eab96f70c8ae915568c11305f5",
  "_expires": "2027-02-07T08:17:52.000Z",
  "_created": "2026-10-30T07:52:36.000Z",
  "_published": "2026-10-30T08:17:54.578Z",
  "_upstream": "https://github.com/soumyaray/result",
  "_status": "success",
  "_maintainer": {
    "name": "Soumya Ray",
    "email": "soumya.ray@gmail.com",
    "login": "soumyaray",
    "description": "Researcher, Teacher, Coder",
    "uuid": 1926704,
    "orcid": "0000-0002-7497-3281"
  },
  "_jobs": [
    {
      "job": 123953790272,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12962392628"
    },
    {
      "job": 123953790475,
      "time": 88,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12962975082"
    },
    {
      "job": 123953790314,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12962718500"
    },
    {
      "job": 123953790500,
      "time": 158,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12962988333"
    },
    {
      "job": 123953000013,
      "time": 141,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12961749385"
    },
    {
      "job": 123953790538,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12962077192"
    },
    {
      "job": 123953790366,
      "time": 64,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12962412275"
    },
    {
      "job": 123953790382,
      "time": 59,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12962960072"
    },
    {
      "job": 123953790552,
      "time": 65,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12962671466"
    }
  ],
  "_buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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",
    "followers": 93,
    "description": "Researcher, Teacher, Coder"
  },
  "_downloads": {
    "count": 332,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/result"
  },
  "_devurl": "https://github.com/soumyaray/result",
  "_searchresults": 1306,
  "_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/readme.html",
    "extra/readme.md",
    "extra/result.html",
    "LICENSE"
  ],
  "_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": 6.07018568637838,
  "_indexed": true,
  "_nocasepkg": "result",
  "_universes": [
    "soumyaray"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-30T07:54:57.000Z",
      "distro": "resolute",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/70a47c455a0e8d44aadd2b4496339350b6215200d86735abc26a850fde491f80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-30T07:54:17.000Z",
      "distro": "resolute",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/92841fb1ac182f65cdacff4ae726bc5bac3007c7d55111e84d3ca637f9bb459c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-30T08:04:12.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/de8a77b2817574bce54374c0e6ea45079479df0232e63e8254d9d8897b57ab8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-30T08:16:50.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/535b2e9016b0d7a8c5e6e085814cc9f16c3564d6d7096df2599963f21341cc35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-30T07:54:10.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/2b0bb43abd646484c6ca7fbe1a0227a78b3221ffda5a8e0d19496240756b1f28",
      "status": "success",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-30T07:53:42.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/2d7d40509c69f554beee42702d5f23890d702db59a143e8b07e2d77d2efeca4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-30T07:53:37.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/ecfea672e7f66ddb651874d71a0bd8400e83d07b10440eb74e47c31288447cda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-30T07:53:46.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/c726ee9c273b6b9aa218eb2d12e34d689de24985e8d7f02aa6765d58436ea648",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/41022516886"
    }
  ]
}