{
  "_id": "6acca45ba14063b82c3a73fa",
  "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-10-12 09:08:18 UTC",
    "User": "root"
  },
  "Author": "Harel Lustiger [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2953-9598>),\nTidylab [cph, fnd]",
  "_user": "tidylab",
  "_type": "src",
  "_file": "decorators_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e3550ff7898c43d1e0f24d331fc37b83a779d8ece1ede1d3688cc5b35424fbba",
  "_filesize": 57789,
  "_sha256": "e3550ff7898c43d1e0f24d331fc37b83a779d8ece1ede1d3688cc5b35424fbba",
  "_expires": "2027-01-20T09:11:53.000Z",
  "_created": "2026-10-12T09:08:18.000Z",
  "_published": "2026-10-12T09:11:55.021Z",
  "_buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114740073670,
      "time": 102,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11737631615"
    },
    {
      "job": 114740073710,
      "time": 101,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11737656627"
    },
    {
      "job": 114740073573,
      "time": 175,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11737381265"
    },
    {
      "job": 114740073691,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11737321112"
    },
    {
      "job": 114738860880,
      "time": 203,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11737140861"
    },
    {
      "job": 114740073674,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11737365932"
    },
    {
      "job": 114740073738,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11737535737"
    },
    {
      "job": 114740073633,
      "time": 65,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11737696548"
    },
    {
      "job": 114740073680,
      "time": 65,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11737641564"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 8,
    "description": "R packages for building analytic applications in R"
  },
  "_downloads": {
    "count": 297,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/decorators.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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-10-12T09:10:08.000Z",
      "distro": "resolute",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "https://r2.ropensci.org/d528c5877e91c4035008270761749f9691e65e5146243a0778ff8cfce6e3fafc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-12T09:10:05.000Z",
      "distro": "resolute",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "https://r2.ropensci.org/981f3a5646eae706c89ded137bdd3db69dbd5480eee24d2bb914d8b63aafa7c1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-12T09:10:47.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "https://r2.ropensci.org/4617895cd2ac1c7213d810db0f63ac5265379d20a550cdf76ed74235b3d83a18",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-12T09:10:22.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "https://r2.ropensci.org/b882cb30038e23a5357b8c36905afecc284cdc673afa4c0b674ebe495dea73b1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-10-12T09:09:51.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "https://r2.ropensci.org/8cebb6606371b3941d76414f7abd1dba6973ca19cac801bf66fa1ca2d4f9aede",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-12T09:09:24.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "https://r2.ropensci.org/5e0a2d83c9a78a428844ebb923d52b8426837e63536af9645362d6f4df281929",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-12T09:09:25.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "https://r2.ropensci.org/e6d50c25df266e4de5a0627b4c20662ab8ee94a9c3ceaa750137c14ea26f5942",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-12T09:09:24.000Z",
      "commit": "c74e1ad6488db1ef7f8ac78da9f7324a11a4cb99",
      "fileid": "https://r2.ropensci.org/d2b2dac4b9998f93f258eb64611d153b0e7ba66b8c3db20f3f77ca42ff8d5705",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidylab/actions/runs/38227568549"
    }
  ]
}