{
  "_id": "6a478d396527f6f71fa0e4c7",
  "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-07-02 06:28:26 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/a0a73911dbba924e52cb620705a95e07b251ec860880b97d57dfb14308d8edf1",
  "_filesize": 102606,
  "_sha256": "a0a73911dbba924e52cb620705a95e07b251ec860880b97d57dfb14308d8edf1",
  "_expires": "2026-10-11T10:21:45.000Z",
  "_created": "2026-07-02T06:28:26.000Z",
  "_published": "2026-07-03T10:21:45.508Z",
  "_jobs": [
    {
      "job": 84979623756,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8030685465"
    },
    {
      "job": 84979623595,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8030684908"
    },
    {
      "job": 84979623879,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8030679653"
    },
    {
      "job": 84979623932,
      "time": 85,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8030677285"
    },
    {
      "job": 84979623466,
      "time": 132,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8030652746"
    },
    {
      "job": 84979623788,
      "time": 197,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8030710009"
    },
    {
      "job": 84979623791,
      "time": 70,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8030673428"
    },
    {
      "job": 84979623925,
      "time": 59,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8030670209"
    },
    {
      "job": 84979623943,
      "time": 69,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8030673081"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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": 343,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/result"
  },
  "_devurl": "https://github.com/soumyaray/result",
  "_searchresults": 1524,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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": 6.137227476442907,
  "_indexed": true,
  "_nocasepkg": "result",
  "_universes": [
    "soumyaray"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T06:30:23.000Z",
      "distro": "resolute",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/9a74f8a38df19f54afd6acdba4a6a51e32dcb994dc94c71f8990f028a8e76fd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T06:30:21.000Z",
      "distro": "resolute",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/d4e0e9cccddabf900e88fed2ccc1202f32075b3c2e4f21a16c2dcb0e62d86a98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-02T06:30:07.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/65ea103c2138ac39fbe3abdd6906dd04337793cad4d8e5fb9a627f0eef895d29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-02T06:29:57.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/add9c714610d514d1fa441fd11ec48b5754bfda6a0f162f2a4b9e79a5eeb8e33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-02T06:31:56.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/5ed11430a0053a7dfc5805717da1dffacc43f4c5b9cfca6cd3bc5fbad48ef3db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-02T06:29:36.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/f94691996228a69f406460c493e990afe65ea4146419442fd30fb7f4ac958124",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-02T06:29:26.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/ca68d34e4b6f9978b7b8127ff37c4003126c23082a44ba73bccacca175e3ffed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-02T06:29:36.000Z",
      "commit": "6cb3b93845b798e5f6a54bdf483a2656c79ebda3",
      "fileid": "https://r2.ropensci.org/5b40459efbb266cf172b27bab836d45eb78032e964c8bd8b2ec458ba930de638",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/soumyaray/actions/runs/28570097973"
    }
  ]
}