{
  "_id": "6a1bf4fa1d7bb097a0a25c7f",
  "Package": "maybe",
  "Title": "The Maybe Monad",
  "Version": "1.1.0",
  "Authors@R": "person(given = \"Andrew\",\nfamily = \"McNeil\",\nrole = c(\"aut\", \"cre\"),\nemail = \"andrew.richard.mcneil@gmail.com\")",
  "Description": "The maybe type represents the possibility of some value or\nnothing. It is often used instead of throwing an error or\nreturning `NULL`. The advantage of using a maybe type over\n`NULL` is that it is both composable and requires the developer\nto explicitly acknowledge the potential absence of a value,\nhelping to avoid the existence of unexpected behaviour.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/armcn/maybe, https://armcn.github.io/maybe/",
  "BugReports": "https://github.com/armcn/maybe/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.2",
  "Config/testthat/edition": "3",
  "Repository": "https://armcn.r-universe.dev",
  "Date/Publication": "2023-08-06 17:39:48 UTC",
  "RemoteUrl": "https://github.com/armcn/maybe",
  "RemoteRef": "HEAD",
  "RemoteSha": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 08:40:01 UTC",
    "User": "root"
  },
  "Author": "Andrew McNeil [aut, cre]",
  "Maintainer": "Andrew McNeil <andrew.richard.mcneil@gmail.com>",
  "MD5sum": "f11c3505302cbee019312c86115f02e1",
  "_user": "armcn",
  "_type": "src",
  "_file": "maybe_1.1.0.tar.gz",
  "_fileid": "af434061b3715f3d84db5605199a3dffe8eb0555d9051005d2db7133dce2fcdb",
  "_filesize": 578232,
  "_sha256": "af434061b3715f3d84db5605199a3dffe8eb0555d9051005d2db7133dce2fcdb",
  "_created": "2026-05-31T08:40:01.000Z",
  "_published": "2026-05-31T08:44:42.775Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78712690430,
      "time": 241,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315324643"
    },
    {
      "job": 78712690432,
      "time": 210,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315321462"
    },
    {
      "job": 78712690428,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315318348"
    },
    {
      "job": 78712690440,
      "time": 214,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315319681"
    },
    {
      "job": 78712545639,
      "time": 162,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315299421"
    },
    {
      "job": 78712690424,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315309519"
    },
    {
      "job": 78712690441,
      "time": 236,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315323994"
    },
    {
      "job": 78712690475,
      "time": 236,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315324073"
    },
    {
      "job": 78712690438,
      "time": 227,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315323147"
    }
  ],
  "_buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/armcn/maybe",
  "_commit": {
    "id": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
    "author": "Andrew R McNeil <91022923+armcn@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #8 from armcn/7-add-maybe_map3-and_then2-and_then3\n\nRelease version 1.1.0",
    "time": 1691343588
  },
  "_maintainer": {
    "name": "Andrew McNeil",
    "email": "andrew.richard.mcneil@gmail.com",
    "login": "armcn",
    "twitter": "@armcn_",
    "description": "R Shiny Developer",
    "uuid": 91022923
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "quickcheck",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "armcn",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "functional-programming"
  ],
  "_stars": 49,
  "_contributors": [
    {
      "user": "armcn",
      "count": 47,
      "uuid": 91022923
    }
  ],
  "_userbio": {
    "uuid": 91022923,
    "type": "user",
    "name": "Andrew R McNeil",
    "description": "R Shiny Developer"
  },
  "_downloads": {
    "count": 249,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/maybe"
  },
  "_devurl": "https://github.com/armcn/maybe",
  "_pkgdown": "https://armcn.github.io/maybe/",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/maybe.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/armcn/maybe",
  "_realowner": "armcn",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-01-27"
    },
    {
      "version": "0.2.0",
      "date": "2022-02-11"
    },
    {
      "version": "0.2.1",
      "date": "2022-03-11"
    },
    {
      "version": "1.0.0",
      "date": "2022-05-28"
    },
    {
      "version": "1.1.0",
      "date": "2023-08-07"
    }
  ],
  "_exports": [
    "%>%",
    "and",
    "and_then",
    "and_then2",
    "and_then3",
    "bind",
    "filter_justs",
    "filter_map",
    "fmap",
    "from_just",
    "from_maybe",
    "is_just",
    "is_maybe",
    "is_nothing",
    "join",
    "just",
    "maybe",
    "maybe_case",
    "maybe_contains",
    "maybe_equal",
    "maybe_flatten",
    "maybe_map",
    "maybe_map2",
    "maybe_map3",
    "not_empty",
    "not_infinite",
    "not_na",
    "not_nan",
    "not_null",
    "not_undefined",
    "nothing",
    "or",
    "perhaps",
    "with_default"
  ],
  "_help": [
    {
      "page": "and",
      "title": "Combine predicate functions to check if all are TRUE",
      "topics": [
        "and"
      ]
    },
    {
      "page": "and_then",
      "title": "Evaluate a maybe returning function on a maybe value",
      "topics": [
        "and_then",
        "bind"
      ]
    },
    {
      "page": "and_then2",
      "title": "Evaluate a binary maybe returning function on two maybe values",
      "topics": [
        "and_then2"
      ]
    },
    {
      "page": "and_then3",
      "title": "Evaluate a ternary maybe returning function on three maybe values",
      "topics": [
        "and_then3"
      ]
    },
    {
      "page": "filter_justs",
      "title": "Filter and unwrap a list of 'Just' values",
      "topics": [
        "filter_justs"
      ]
    },
    {
      "page": "filter_map",
      "title": "Map a function over a list and filter only 'Just' values",
      "topics": [
        "filter_map"
      ]
    },
    {
      "page": "from_just",
      "title": "Unwrap a 'Just' value or throw an error",
      "topics": [
        "from_just"
      ]
    },
    {
      "page": "is_just",
      "title": "Check if an object is a 'Just' value",
      "topics": [
        "is_just"
      ]
    },
    {
      "page": "is_maybe",
      "title": "Check if an object is a maybe value",
      "topics": [
        "is_maybe"
      ]
    },
    {
      "page": "is_nothing",
      "title": "Check if an object is a 'Nothing' value",
      "topics": [
        "is_nothing"
      ]
    },
    {
      "page": "just",
      "title": "Create a 'Just' variant of a maybe value",
      "topics": [
        "just"
      ]
    },
    {
      "page": "maybe",
      "title": "Modify a function to return a maybe value",
      "topics": [
        "maybe"
      ]
    },
    {
      "page": "maybe_case",
      "title": "Unwrap and call a function on a maybe value or return a default",
      "topics": [
        "maybe_case"
      ]
    },
    {
      "page": "maybe_contains",
      "title": "Check if a maybe value contains a specific value",
      "topics": [
        "maybe_contains"
      ]
    },
    {
      "page": "maybe_equal",
      "title": "Check if two maybe values are equal",
      "topics": [
        "maybe_equal"
      ]
    },
    {
      "page": "maybe_flatten",
      "title": "Flatten a nested maybe value",
      "topics": [
        "join",
        "maybe_flatten"
      ]
    },
    {
      "page": "maybe_map",
      "title": "Evaluate a function on a maybe value",
      "topics": [
        "fmap",
        "maybe_map"
      ]
    },
    {
      "page": "maybe_map2",
      "title": "Evaluate a binary function on two maybe values",
      "topics": [
        "maybe_map2"
      ]
    },
    {
      "page": "maybe_map3",
      "title": "Evaluate a ternary function on three maybe values",
      "topics": [
        "maybe_map3"
      ]
    },
    {
      "page": "not_empty",
      "title": "Check if a vector or data frame is empty",
      "topics": [
        "not_empty"
      ]
    },
    {
      "page": "not_infinite",
      "title": "Check if an object is not infinite",
      "topics": [
        "not_infinite"
      ]
    },
    {
      "page": "not_na",
      "title": "Check if an object is not NA",
      "topics": [
        "not_na"
      ]
    },
    {
      "page": "not_nan",
      "title": "Check if an object is not NaN",
      "topics": [
        "not_nan"
      ]
    },
    {
      "page": "not_null",
      "title": "Check if an object is not NULL",
      "topics": [
        "not_null"
      ]
    },
    {
      "page": "not_undefined",
      "title": "Check if an object is not undefined",
      "topics": [
        "not_undefined"
      ]
    },
    {
      "page": "nothing",
      "title": "Create a 'Nothing' variant of a maybe value",
      "topics": [
        "nothing"
      ]
    },
    {
      "page": "or",
      "title": "Combine predicate functions to check if any are TRUE",
      "topics": [
        "or"
      ]
    },
    {
      "page": "perhaps",
      "title": "Modify a function to return the value or a default value",
      "topics": [
        "perhaps"
      ]
    },
    {
      "page": "with_default",
      "title": "Unwrap a maybe value or return a default",
      "topics": [
        "from_maybe",
        "with_default"
      ]
    }
  ],
  "_readme": "https://github.com/armcn/maybe/raw/HEAD/README.md",
  "_rundeps": [
    "magrittr"
  ],
  "_score": 5.747100931364987,
  "_indexed": true,
  "_nocasepkg": "maybe",
  "_universes": [
    "armcn"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-31T08:42:05.000Z",
      "distro": "noble",
      "commit": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
      "fileid": "c0621cb48c4b840fdf6c22db5634ea489d3b84829422264c36f66d7f2ed1cc07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-31T08:42:01.000Z",
      "distro": "noble",
      "commit": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
      "fileid": "38ed94769cac21e12f0563f956b8e2d9550c74f17b300bee203a0bf4401d004f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-31T08:42:14.000Z",
      "commit": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
      "fileid": "ab9c996d5c477b9d357bea1bb882cf79dd9fdbdfa2fc3fd422874e4cfb53cebe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-31T08:42:12.000Z",
      "commit": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
      "fileid": "69032fb07e281c8bdceaa9bb2edb96c5b6f617ea5eb63ff4be9c41944fd9c9ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-31T08:41:56.000Z",
      "commit": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
      "fileid": "e54280073a1e70b9f5a6627f1c508aada840baa82878bf1d06ddd699a51d7c2d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-31T08:41:21.000Z",
      "commit": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
      "fileid": "86d203f17200707242efaf3adf4a6455a93d3dcb6ee7154b061a2c8c66e1509a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-31T08:41:10.000Z",
      "commit": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
      "fileid": "2c64edac9df650f1e22e43457b421cb4acb01c6eb6ffeab182d79aaf94003e2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-31T08:41:07.000Z",
      "commit": "1e921f6712225a6001b3a38b0abd6a0aa1bc222c",
      "fileid": "cd1364e2557c7063e446a6d0e6439725c61484d8207fae4402c3fe4a43c7ddf4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/armcn/actions/runs/26707892488"
    }
  ]
}