{
  "_id": "6ae844112e87f76f20ace392",
  "Package": "adorn",
  "Title": "A Framework for Writing and Applying Function Decorators",
  "Version": "0.1.0",
  "Authors@R": "person(\"Dyfan\", \"Jones\", , \"dyfan.r.jones@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "A framework for creating function decorators in R.\nDecorators can be applied to functions and to S3, S4, S7 and R6\nmethods.",
  "License": "MIT + file LICENSE",
  "URL": "https://dyfanjones.github.io/adorn/,\nhttps://github.com/DyfanJones/adorn",
  "BugReports": "https://github.com/DyfanJones/adorn/issues",
  "Remotes": [
    "RConsortium/S7"
  ],
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.1",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Collate": "'context.R' 'decorator.R' 'decorate.R' 'reexport-S7.R' 'zzz.R'",
  "VignetteBuilder": "litedown",
  "Repository": "https://dyfanjones.r-universe.dev",
  "Date/Publication": "2026-10-31 23:30:33 UTC",
  "RemoteUrl": "https://github.com/DyfanJones/adorn",
  "RemoteRef": "HEAD",
  "RemoteSha": "29ea25d0f47fbb1316f6e56f17747e60492012f4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-31 23:48:15 UTC",
    "User": "root"
  },
  "Author": "Dyfan Jones [aut, cre]",
  "Maintainer": "Dyfan Jones <dyfan.r.jones@gmail.com>",
  "_user": "dyfanjones",
  "_type": "src",
  "_file": "adorn_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/739c13d7faab804a24b6e5016a832c4a0435787934066464914243d095b6e482",
  "_filesize": 186685,
  "_sha256": "739c13d7faab804a24b6e5016a832c4a0435787934066464914243d095b6e482",
  "_expires": "2027-02-08T23:51:02.000Z",
  "_created": "2026-10-31T23:48:15.000Z",
  "_published": "2026-11-02T08:04:33.183Z",
  "_upstream": "https://github.com/DyfanJones/adorn",
  "_status": "success",
  "_maintainer": {
    "name": "Dyfan Jones",
    "email": "dyfan.r.jones@gmail.com",
    "login": "dyfanjones",
    "description": "",
    "uuid": 23235152
  },
  "_jobs": [
    {
      "job": 125159143329,
      "time": 86,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 125159143392,
      "time": 82,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 125159143333,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 125159143428,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 125159145074,
      "time": 218,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13062522371"
    },
    {
      "job": 125159145076,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13062438034"
    },
    {
      "job": 125159143432,
      "time": 66,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 125159143283,
      "time": 70,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 125159143393,
      "time": 55,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/41253793279",
  "_commit": {
    "id": "29ea25d0f47fbb1316f6e56f17747e60492012f4",
    "author": "Dyfan <dyfanjones@hotmail.com>",
    "committer": "Dyfan <dyfanjones@hotmail.com>",
    "message": "fix: remove downstream R CMD check NOTEs from decorators\n",
    "time": 1793489433
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "S7",
      "version": ">= 0.2.2.9000",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "codetools",
      "role": "Suggests"
    },
    {
      "package": "litedown",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "dyfanjones",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-44",
      "n": 20
    }
  ],
  "_tags": [],
  "_topics": [
    "decorators",
    "rlanguage"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "dyfanjones",
      "count": 52,
      "uuid": 23235152
    }
  ],
  "_userbio": {
    "uuid": 23235152,
    "type": "user",
    "name": "Larefly",
    "followers": 41
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/adorn"
  },
  "_devurl": "https://github.com/dyfanjones/adorn",
  "_pkgdown": "https://dyfanjones.github.io/adorn/",
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/adorn.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    ":=",
    "%@%",
    "decorate",
    "decorate<-",
    "decorator",
    "decorator_context",
    "decorators",
    "undecorate"
  ],
  "_help": [
    {
      "page": "apply-decorator",
      "title": "Apply decorators to a function",
      "topics": [
        "%@%",
        "apply-decorator"
      ]
    },
    {
      "page": "decorate",
      "title": "Decorate a function or an existing method",
      "topics": [
        "decorate",
        "decorate<-"
      ]
    },
    {
      "page": "decorator",
      "title": "Create a decorator",
      "topics": [
        "decorator"
      ]
    },
    {
      "page": "decorator_context",
      "title": "Information about the function being decorated",
      "topics": [
        "decorator_context"
      ]
    },
    {
      "page": "undecorate",
      "title": "Inspect a decorated function",
      "topics": [
        "decorators",
        "undecorate"
      ]
    }
  ],
  "_pkglogo": "https://github.com/DyfanJones/adorn/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/DyfanJones/adorn/raw/HEAD/README.md",
  "_rundeps": [
    "S7"
  ],
  "_vignettes": [
    {
      "source": "partial-decorators.Rmd",
      "filename": "partial-decorators.html",
      "title": "Changing a function's signature",
      "engine": "litedown::vignette",
      "headings": [
        "What you take on",
        "partial",
        "Stacking",
        "curry",
        "Adding an argument",
        "Decorating methods",
        "What it costs"
      ],
      "created": "2026-10-29 21:08:58",
      "modified": "2026-10-29 21:08:58",
      "commits": 1
    },
    {
      "source": "classes.Rmd",
      "filename": "classes.html",
      "title": "Decorating S3, S4, S7 and R6 methods",
      "engine": "litedown::vignette",
      "headings": [
        "Defining a method",
        "S3",
        "S4",
        "S7",
        "R6",
        "Decorating a method that already exists"
      ],
      "created": "2026-10-26 17:10:42",
      "modified": "2026-10-29 21:08:58",
      "commits": 4
    },
    {
      "source": "designing-decorators.Rmd",
      "filename": "designing-decorators.html",
      "title": "Designing decorators",
      "engine": "litedown::vignette",
      "headings": [
        "Choosing a style",
        "What a decorated call costs",
        "Pitfalls",
        "State in a call-style decorator",
        "Work done on every call that could be done once",
        "Anonymous functions",
        "Losing invisible()",
        "Recursion goes through the decorator every time",
        "Changing the signature with formals = \"replace\"",
        "Order of stacked decorators",
        "Reading errors",
        "Mistakes decorator() catches for you",
        "A checklist"
      ],
      "created": "2026-10-27 20:08:02",
      "modified": "2026-10-31 22:57:51",
      "commits": 4
    },
    {
      "source": "writing-decorators.Rmd",
      "filename": "writing-decorators.html",
      "title": "Writing decorators",
      "engine": "litedown::vignette",
      "headings": [
        "timed",
        "logged",
        "memoize",
        "once",
        "retry",
        "partial"
      ],
      "created": "2026-10-26 17:10:42",
      "modified": "2026-10-29 21:08:58",
      "commits": 2
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "adorn",
  "_universes": [
    "dyfanjones"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-27T23:59:40.000Z",
      "distro": "resolute",
      "commit": "64387fed0029c986f9173ecc3d22075a6adc6a8b",
      "fileid": "https://r2.ropensci.org/4bc5eee33ca3dfd3720e13cdfb5bbefe1ba37fecdebb80910305da5138bc26b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/40605329210"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-27T23:59:40.000Z",
      "commit": "64387fed0029c986f9173ecc3d22075a6adc6a8b",
      "fileid": "https://r2.ropensci.org/868c366f6387df590fa9d186ee62b5cd043fccbaba395fd8805696e02a79f662",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/40605329210"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-27T23:59:38.000Z",
      "commit": "64387fed0029c986f9173ecc3d22075a6adc6a8b",
      "fileid": "https://r2.ropensci.org/b3b0a922b87a45003020a8383135cef31f9ed9ee331761d912fb09031444d63d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/40605329210"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-27T23:58:55.000Z",
      "commit": "64387fed0029c986f9173ecc3d22075a6adc6a8b",
      "fileid": "https://r2.ropensci.org/3ddfef5760e18f77c7479b6169e76fb74945472080db21dfbdd91fbe47459e86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/40605329210"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-27T23:59:08.000Z",
      "commit": "64387fed0029c986f9173ecc3d22075a6adc6a8b",
      "fileid": "https://r2.ropensci.org/18e64c29b559fef3021843dfd6eb67c4a90d0f2fec4216277fe581ece6e39881",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/40605329210"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-27T23:59:00.000Z",
      "commit": "64387fed0029c986f9173ecc3d22075a6adc6a8b",
      "fileid": "https://r2.ropensci.org/361ecf09fce2849384b937c85f26af2bd90db5324c399cbff1f79a7ade51069d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/40605329210"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-31T23:48:15.000Z",
      "distro": "resolute",
      "commit": "29ea25d0f47fbb1316f6e56f17747e60492012f4",
      "fileid": "https://r2.ropensci.org/cf551e350be00e7f2a3fec67d7cbbb7107c169d91c4ca9a3219bfbfdb08a069e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/41253793279"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-31T23:50:17.000Z",
      "commit": "29ea25d0f47fbb1316f6e56f17747e60492012f4",
      "fileid": "https://r2.ropensci.org/3d0836afd41a9c68a9e625767ee0fd21155cf2a7393806857ca0405f50819dc3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dyfanjones/actions/runs/41253793279"
    }
  ]
}