{
  "_id": "6a10650bacfb0bcc41ca8a28",
  "Package": "featureflag",
  "Title": "Turn Features On and Off using Feature Flags",
  "Version": "0.2.0",
  "Authors@R": "person(given = \"Ryszard\",\nfamily = \"Szymański\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ryszard.szymanski@outlook.com\")",
  "Description": "Feature flags allow developers to turn features of their\nsoftware on and off in form of configuration. This package\nprovides functions for creating feature flags in code. It\nexposes an interface for defining own feature flags which are\nenabled based on custom criteria.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Language": "en-US",
  "URL": "https://github.com/szymanskir/featureflag",
  "BugReports": "https://github.com/szymanskir/featureflag/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://szymanskir.r-universe.dev",
  "Date/Publication": "2025-03-22 22:12:50 UTC",
  "RemoteUrl": "https://github.com/szymanskir/featureflag",
  "RemoteRef": "HEAD",
  "RemoteSha": "b685c11741cfb06395e6642e8c6fa302f96f103b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-08 06:33:57 UTC",
    "User": "root"
  },
  "Author": "Ryszard Szymański [aut, cre]",
  "Maintainer": "Ryszard Szymański <ryszard.szymanski@outlook.com>",
  "MD5sum": "3de7ad1fb37cc33d8b43a174311cb3e9",
  "_user": "szymanskir",
  "_type": "src",
  "_file": "featureflag_0.2.0.tar.gz",
  "_fileid": "97883ca279dee1623d7fd82e4f77447ee57590ab8707fc52adbad7602f99ac06",
  "_filesize": 119451,
  "_sha256": "97883ca279dee1623d7fd82e4f77447ee57590ab8707fc52adbad7602f99ac06",
  "_created": "2026-05-08T06:33:57.000Z",
  "_published": "2026-05-22T14:15:39.772Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77397634945,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6873310199"
    },
    {
      "job": 77397635251,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6873308879"
    },
    {
      "job": 77397635398,
      "time": 74,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6873297510"
    },
    {
      "job": 77397634947,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6873300836"
    },
    {
      "job": 77397634595,
      "time": 162,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6873279852"
    },
    {
      "job": 77397634673,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162674239"
    },
    {
      "job": 77397635096,
      "time": 115,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6873313113"
    },
    {
      "job": 77397636075,
      "time": 68,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6873296371"
    },
    {
      "job": 77397635646,
      "time": 80,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6873299261"
    }
  ],
  "_buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/szymanskir/featureflag",
  "_commit": {
    "id": "b685c11741cfb06395e6642e8c6fa302f96f103b",
    "author": "szymanskir <ryszard.szymanski@outlook.com>",
    "committer": "szymanskir <ryszard.szymanski@outlook.com>",
    "message": "Increment version number to 0.2.0\n",
    "time": 1742681570
  },
  "_maintainer": {
    "name": "Ryszard Szymański",
    "email": "ryszard.szymanski@outlook.com",
    "login": "szymanskir",
    "uuid": 29870975
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "szymanskir",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "szymanskir",
      "count": 38,
      "uuid": 29870975
    }
  ],
  "_userbio": {
    "uuid": 29870975,
    "type": "user",
    "name": "szymanskir"
  },
  "_downloads": {
    "count": 258,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/featureflag"
  },
  "_devurl": "https://github.com/szymanskir/featureflag",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/featureflag.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/szymanskir/featureflag",
  "_realowner": "szymanskir",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-02-18"
    },
    {
      "version": "0.2.0",
      "date": "2025-03-22"
    }
  ],
  "_exports": [
    "create_bool_feature_flag",
    "create_connect_group_feature_flag",
    "create_connect_user_feature_flag",
    "create_env_var_feature_flag",
    "create_feature_flag",
    "create_percentage_feature_flag",
    "create_time_period_feature_flag",
    "feature_if",
    "feature_ifelse",
    "is_enabled"
  ],
  "_help": [
    {
      "page": "create_bool_feature_flag",
      "title": "Creates an instance of a bool feature flag with the specified bool value.",
      "topics": [
        "create_bool_feature_flag"
      ]
    },
    {
      "page": "create_connect_group_feature_flag",
      "title": "Creates an instance of a connect feature flag that is enabled for specific groups",
      "topics": [
        "create_connect_group_feature_flag"
      ]
    },
    {
      "page": "create_connect_user_feature_flag",
      "title": "Creates an instance of a connect feature flag that is enabled for specific users",
      "topics": [
        "create_connect_user_feature_flag"
      ]
    },
    {
      "page": "create_env_var_feature_flag",
      "title": "Creates an instance of a feature flag that is enabled based on an environment variable",
      "topics": [
        "create_env_var_feature_flag"
      ]
    },
    {
      "page": "create_feature_flag",
      "title": "Creates the base of a feature flag.",
      "topics": [
        "create_feature_flag"
      ]
    },
    {
      "page": "create_percentage_feature_flag",
      "title": "Creates an instance of a percentage feature flag with a specified chance of being enabled",
      "topics": [
        "create_percentage_feature_flag"
      ]
    },
    {
      "page": "create_time_period_feature_flag",
      "title": "Creates an instance of a time period feature flag.",
      "topics": [
        "create_time_period_feature_flag"
      ]
    },
    {
      "page": "feature_if",
      "title": "Evaluates the provided expression if the feature flag is enabled.",
      "topics": [
        "feature_if"
      ]
    },
    {
      "page": "feature_ifelse",
      "title": "Evaluates one or the other expression based on whether the feature flag is enabled.",
      "topics": [
        "feature_ifelse"
      ]
    },
    {
      "page": "is_enabled",
      "title": "Checks if the given feature flag is enabled.",
      "topics": [
        "is_enabled"
      ]
    },
    {
      "page": "is_enabled.bool_feature_flag",
      "title": "Checks if the given bool feature flag is enabled",
      "topics": [
        "is_enabled.bool_feature_flag"
      ]
    },
    {
      "page": "is_enabled.connect_group_feature_flag",
      "title": "Checks if the given connect group feature flag is enabled",
      "topics": [
        "is_enabled.connect_group_feature_flag"
      ]
    },
    {
      "page": "is_enabled.connect_user_feature_flag",
      "title": "Checks if the given connect user feature flag is enabled",
      "topics": [
        "is_enabled.connect_user_feature_flag"
      ]
    },
    {
      "page": "is_enabled.env_var_feature_flag",
      "title": "Checks if the given environment variable feature flag is enabled",
      "topics": [
        "is_enabled.env_var_feature_flag"
      ]
    },
    {
      "page": "is_enabled.percentage_feature_flag",
      "title": "Checks if the given percentage flag is enabled",
      "topics": [
        "is_enabled.percentage_feature_flag"
      ]
    },
    {
      "page": "is_enabled.time_period_feature_flag",
      "title": "Checks if the given bool feature flag is enabled",
      "topics": [
        "is_enabled.time_period_feature_flag"
      ]
    }
  ],
  "_readme": "https://github.com/szymanskir/featureflag/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "define-custom-feature-flags.Rmd",
      "filename": "define-custom-feature-flags.html",
      "title": "Defining custom feature flags",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Functions to be implemented",
        "Create feature flag function",
        "Class checking function",
        "is_enabled function"
      ],
      "created": "2021-02-18 20:03:34",
      "modified": "2025-03-16 14:36:24",
      "commits": 2
    },
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "featureflag - basic usage",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivation",
        "Usage"
      ],
      "created": "2021-02-18 20:03:34",
      "modified": "2025-03-16 14:36:24",
      "commits": 5
    }
  ],
  "_score": 5.155336037465062,
  "_indexed": true,
  "_nocasepkg": "featureflag",
  "_universes": [
    "szymanskir"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-08T06:36:04.000Z",
      "distro": "noble",
      "commit": "b685c11741cfb06395e6642e8c6fa302f96f103b",
      "fileid": "651ca553996d121fc6c31d0c90fcb8a4d2008a683335ab44d17567417c09246b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-08T06:36:00.000Z",
      "distro": "noble",
      "commit": "b685c11741cfb06395e6642e8c6fa302f96f103b",
      "fileid": "ee1b35f51dbb09847a5c72e02ecc1b3fe1b6aab780ae25775022cd6064633ce8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-08T06:35:16.000Z",
      "commit": "b685c11741cfb06395e6642e8c6fa302f96f103b",
      "fileid": "2af9aef080172abeb78fc9845bb56d04b629d7022908cb1b8ee17d7df08297af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-08T06:35:29.000Z",
      "commit": "b685c11741cfb06395e6642e8c6fa302f96f103b",
      "fileid": "fb1039b3b3c6c2507894545333f6797ff1556887a5a9634f544afc33d95faaf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-08T06:36:15.000Z",
      "commit": "b685c11741cfb06395e6642e8c6fa302f96f103b",
      "fileid": "cd9f43d7d8b27b5d1aad358d9a72622bad7e9b4f648eb99ab5be1b9182f9c52e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-08T06:35:03.000Z",
      "commit": "b685c11741cfb06395e6642e8c6fa302f96f103b",
      "fileid": "19e4ac2c3555a2f4856f76842db27441edce4e1503b6fe4afb5aaf2043ef6449",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-08T06:35:14.000Z",
      "commit": "b685c11741cfb06395e6642e8c6fa302f96f103b",
      "fileid": "89a0c9d33f80acdce4f3625fb1e265039259c8b14420068d166a5abd6edb094f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T14:15:21.000Z",
      "commit": "b685c11741cfb06395e6642e8c6fa302f96f103b",
      "fileid": "610a5ba855ea1695969b1cefa4d5a95b82c882b9b617b0054a23d6f1c7c2bf3c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/szymanskir/actions/runs/25540812173"
    }
  ]
}