{
  "_id": "6a1f2f28b401979e73426fd9",
  "Type": "Package",
  "Package": "decorators",
  "Title": "Extend the Behaviour of a Function without Explicitly Modifying\nit",
  "Version": "0.3.0",
  "Date": "2022-06-23",
  "Authors@R": "c(\nperson(\"Harel\", \"Lustiger\", , \"tidylab@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2953-9598\")),\nperson(\"Tidylab\", role = c(\"cph\", \"fnd\"))\n)",
  "Maintainer": "Harel Lustiger <tidylab@gmail.com>",
  "Description": "A decorator is a function that receives a function,\nextends its behaviour, and returned the altered function. Any\ncaller that uses the decorated function uses the same interface\nas it were the original, undecorated function. Decorators serve\ntwo primary uses: (1) Enhancing the response of a function as\nit sends data to a second component; (2) Supporting multiple\noptional behaviours. An example of the first use is a timer\ndecorator that runs a function, outputs its execution time on\nthe console, and returns the original function's result. An\nexample of the second use is input type validation decorator\nthat during running time tests whether the caller has passed\ninput arguments of a particular class.  Decorators can reduce\nexecution time, say by memoization, or reduce bugs by adding\ndefensive programming routines.",
  "License": "MIT + file LICENSE",
  "URL": "https://tidylab.github.io/decorators/,\nhttps://github.com/tidylab/decorators",
  "BugReports": "https://github.com/tidylab/decorators/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE, r6 = TRUE)",
  "RoxygenNote": "7.2.0",
  "Repository": "https://tidylab.r-universe.dev",
  "Date/Publication": "2022-09-30 15:33:26 UTC",
  "RemoteUrl": "https://github.com/tidylab/decorators",
  "RemoteRef": "HEAD",
  "RemoteSha": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 09:16:35 UTC",
    "User": "root"
  },
  "Author": "Harel Lustiger [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2953-9598>),\nTidylab [cph, fnd]",
  "MD5sum": "17120f2c724fe976daa272a35ecddb05",
  "_user": "tidylab",
  "_type": "src",
  "_file": "decorators_0.3.0.tar.gz",
  "_fileid": "5714c8bcba9a4c55c7340d8a5842664e356c4f157a3db51629dbd91c16e22a23",
  "_filesize": 56324,
  "_sha256": "5714c8bcba9a4c55c7340d8a5842664e356c4f157a3db51629dbd91c16e22a23",
  "_created": "2026-05-15T09:16:35.000Z",
  "_published": "2026-06-02T19:29:44.610Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79154836180,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7013887403"
    },
    {
      "job": 79154835975,
      "time": 102,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7013879954"
    },
    {
      "job": 79154836229,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7013882266"
    },
    {
      "job": 79154836203,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7013878559"
    },
    {
      "job": 79154835577,
      "time": 152,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013850467"
    },
    {
      "job": 79154835588,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367784098"
    },
    {
      "job": 79154836256,
      "time": 62,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7013868830"
    },
    {
      "job": 79154836283,
      "time": 65,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7013870050"
    },
    {
      "job": 79154836102,
      "time": 64,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7013869457"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tidylab/decorators",
  "_commit": {
    "id": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
    "author": "harell <harell@users.noreply.github.com>",
    "committer": "harell <harell@users.noreply.github.com>",
    "message": "Merge branch 'release/v0.3.0'\n",
    "time": 1664552006
  },
  "_maintainer": {
    "name": "Harel Lustiger",
    "email": "tidylab@gmail.com",
    "orcid": "0000-0003-2953-9598"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "tidylab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "decorators",
    "design-patterns"
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "harell",
      "count": 38,
      "uuid": 7226303
    }
  ],
  "_userbio": {
    "uuid": 49600364,
    "type": "organization",
    "name": "Tidylab",
    "description": "R packages for building analytic applications in R"
  },
  "_downloads": {
    "count": 191,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/decorators"
  },
  "_devurl": "https://github.com/tidylab/decorators",
  "_pkgdown": "https://tidylab.github.io/decorators/",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/decorators.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tidylab/decorators",
  "_realowner": "tidylab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-03-22"
    },
    {
      "version": "0.3.0",
      "date": "2022-09-30"
    }
  ],
  "_exports": [
    "%>%",
    "%||%",
    "time_it",
    "validate_arguments"
  ],
  "_help": [],
  "_readme": "https://github.com/tidylab/decorators/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "magrittr",
    "purrr",
    "rlang",
    "vctrs"
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "decorators",
  "_universes": [
    "tidylab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-15T09:18:45.000Z",
      "distro": "noble",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "e62f43cdb58574fd8952fa1b2ace824563cd0e43cef4d2734903ee7fd6998012",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-15T09:18:20.000Z",
      "distro": "noble",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "e92042cb0365665d29cda4880b845192c35ec1b7e85f001ef6054a590f60ea39",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-15T09:18:28.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "1befd90db228325ca35a5a515eba52b864174eb23b7c472b9ae7a4eb2acc596b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-15T09:18:16.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "aa159a0e0b73ea63b879d5e363006b3544abe8169308c5f46a2a1e4b5a12e604",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-15T09:17:35.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "40b39c75771ec9df77cabda37592aede29e849f600dc66fd3a43b4307c19cf68",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-15T09:17:41.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "da63e29d9dea328a959ddb0538f8d3f6b9b19a2c46171ce1b629abe11b67eb89",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-15T09:17:38.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "87e7873042607e58a426d466d3cf0caa7be242c2b5a68bde36bac3536a2f82d5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-06-02T19:29:23.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "85ba814587d7e29f699915c24fcb9c6077681ee180cb58ac5678fad086db91a0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/25909991601"
    }
  ]
}