{
  "_id": "6a48e52db5e98c4082a02710",
  "Package": "box",
  "Title": "Write Reusable, Composable and Modular R Code",
  "Version": "1.2.2.9000",
  "Authors@R": "c(\nperson(\n'Konrad', 'Rudolph',\nemail = 'konrad.rudolph@gmail.com',\nrole = c('aut', 'cre'),\ncomment = c(ORCID = '0000-0002-9866-7051')\n),\nperson(\n'Michael', 'Schubert',\nemail = 'mschu.dev@gmail.com',\nrole = 'ctb',\ncomment = c(ORCID = '0000-0002-6862-5221')\n)\n)",
  "URL": "https://klmr.me/box/, https://github.com/klmr/box",
  "BugReports": "https://github.com/klmr/box/issues",
  "Description": "A modern module system for R. Organise code into\nhierarchical, composable, reusable modules, and use it\neffortlessly across projects via a flexible, declarative\ndependency loading syntax.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Repository": "https://klmr.r-universe.dev",
  "Date/Publication": "2026-05-29 23:12:50 UTC",
  "RemoteUrl": "https://github.com/klmr/box",
  "RemoteRef": "build",
  "RemoteSha": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-04 10:45:13 UTC",
    "User": "root"
  },
  "Author": "Konrad Rudolph [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9866-7051>),\nMichael Schubert [ctb] (ORCID: <https://orcid.org/0000-0002-6862-5221>)",
  "Maintainer": "Konrad Rudolph <konrad.rudolph@gmail.com>",
  "_user": "klmr",
  "_type": "src",
  "_file": "box_1.2.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/96d330796e3dee6b55399ca9a64e0ed8c9f92c725fd71e353d4f9391e5f7591b",
  "_filesize": 510043,
  "_sha256": "96d330796e3dee6b55399ca9a64e0ed8c9f92c725fd71e353d4f9391e5f7591b",
  "_expires": "2026-10-12T10:49:15.000Z",
  "_created": "2026-07-04T10:45:13.000Z",
  "_published": "2026-07-04T10:49:17.246Z",
  "_jobs": [
    {
      "job": 85125948623,
      "time": 139,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8080994998"
    },
    {
      "job": 85125948611,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8080996943"
    },
    {
      "job": 85125948620,
      "time": 150,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8080996250"
    },
    {
      "job": 85125948624,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8080997714"
    },
    {
      "job": 85125948600,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8080990718"
    },
    {
      "job": 85125948608,
      "time": 198,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8081001719"
    },
    {
      "job": 85125948601,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8080990044"
    },
    {
      "job": 85125948605,
      "time": 194,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8081001202"
    },
    {
      "job": 85125692766,
      "time": 245,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8080977160"
    },
    {
      "job": 85125948592,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8080997374"
    },
    {
      "job": 85125948588,
      "time": 136,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8080994083"
    },
    {
      "job": 85125948590,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8080988598"
    },
    {
      "job": 85125948595,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8080989841"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921",
  "_status": "success",
  "_upstream": "https://github.com/klmr/box",
  "_commit": {
    "id": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
    "author": "klmr <klmr@users.noreply.github.com>",
    "committer": "klmr <klmr@users.noreply.github.com>",
    "message": "Create a development build\n",
    "time": 1780096370
  },
  "_maintainer": {
    "name": "Konrad Rudolph",
    "email": "konrad.rudolph@gmail.com",
    "login": "klmr",
    "mastodon": "@klmr@mastodon.social",
    "orcid": "0000-0002-9866-7051",
    "description": "Geneticist 🧬, computer scientist 𝝺 and software engineer 👨‍💻.",
    "uuid": 38931
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.40",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "version": ">= 7.2.1",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.7",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Enhances"
    }
  ],
  "_owner": "klmr",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 7
    },
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.2.1",
      "date": "2025-11-24"
    },
    {
      "name": "v1.2.2",
      "date": "2026-04-08"
    }
  ],
  "_topics": [
    "modules",
    "packages"
  ],
  "_stars": 969,
  "_contributors": [
    {
      "user": "klmr",
      "count": 1194,
      "uuid": 38931
    },
    {
      "user": "mschubert",
      "count": 10,
      "uuid": 442360
    },
    {
      "user": "jimhester",
      "count": 1,
      "uuid": 205275
    },
    {
      "user": "kamilzyla",
      "count": 1,
      "uuid": 10000651
    },
    {
      "user": "prdm0",
      "count": 1,
      "uuid": 4948384
    },
    {
      "user": "tommarshall2",
      "count": 1,
      "uuid": 91833656
    }
  ],
  "_userbio": {
    "uuid": 38931,
    "type": "user",
    "name": "Konrad Rudolph",
    "followers": 511,
    "description": "Geneticist 🧬, computer scientist 𝝺 and software engineer 👨‍💻."
  },
  "_downloads": {
    "count": 8779,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/box"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/klmr/box",
  "_pkgdown": "https://klmr.me/box/",
  "_searchresults": 67,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/box.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/klmr/box",
  "_realowner": "klmr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-02-12"
    },
    {
      "version": "1.0.1",
      "date": "2021-03-20"
    },
    {
      "version": "1.0.2",
      "date": "2021-04-22"
    },
    {
      "version": "1.1.0",
      "date": "2021-09-13"
    },
    {
      "version": "1.1.1",
      "date": "2022-04-23"
    },
    {
      "version": "1.1.2",
      "date": "2022-05-11"
    },
    {
      "version": "1.1.3",
      "date": "2023-05-02"
    },
    {
      "version": "1.2.0",
      "date": "2024-02-07"
    },
    {
      "version": "1.2.1",
      "date": "2025-11-28"
    },
    {
      "version": "1.2.2",
      "date": "2026-04-10"
    }
  ],
  "_exports": [
    "export",
    "file",
    "help",
    "name",
    "purge_cache",
    "register_S3_method",
    "reload",
    "script_path",
    "set_script_path",
    "topenv",
    "unload",
    "use"
  ],
  "_help": [
    {
      "page": "export",
      "title": "Explicitly declare module exports",
      "topics": [
        "export"
      ]
    },
    {
      "page": "file",
      "title": "Find the full paths of files in modules",
      "topics": [
        "file"
      ]
    },
    {
      "page": "help",
      "title": "Display module documentation",
      "topics": [
        "help"
      ]
    },
    {
      "page": "mod-hooks",
      "title": "Hooks for module events",
      "concept": [
        "experimental"
      ],
      "topics": [
        ".on_load",
        ".on_unload",
        "mod-hooks"
      ]
    },
    {
      "page": "name",
      "title": "Get a module’s name",
      "topics": [
        "name"
      ]
    },
    {
      "page": "register_S3_method",
      "title": "Register S3 methods",
      "topics": [
        "register_S3_method"
      ]
    },
    {
      "page": "script_path",
      "title": "Set the base path of the script",
      "topics": [
        "script_path",
        "set_script_path"
      ]
    },
    {
      "page": "topenv",
      "title": "Get a module’s namespace environment",
      "topics": [
        "topenv"
      ]
    },
    {
      "page": "unload",
      "title": "Unload or reload modules",
      "topics": [
        "purge_cache",
        "reload",
        "unload"
      ]
    },
    {
      "page": "use",
      "title": "Import a module or package",
      "topics": [
        "use"
      ]
    }
  ],
  "_pkglogo": "https://github.com/klmr/box/raw/build/man/figures/logo.png",
  "_readme": "https://github.com/klmr/box/raw/build/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "contributing.rmd",
      "filename": "contributing.html",
      "title": "Contributing to ‘box’",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Development",
        "Building",
        "Branches",
        "Attribution and copyright",
        "Code style"
      ],
      "created": "2023-10-22 21:13:30",
      "modified": "2026-05-03 15:20:12",
      "commits": 2
    },
    {
      "source": "faq.rmd",
      "filename": "faq.html",
      "title": "Frequently asked questions",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "General",
        "Can I call library/require/source inside a module?",
        "Can I use “meta packages” like ‘tidyverse’ with ‘box’?",
        "How to organise globally installed modules?",
        "Common error messages",
        "“object 'X' not found” inside a module",
        "“there is no package called ‘X’” when running box::use(X), even though the module 'X' exists"
      ],
      "created": "2021-05-19 22:18:56",
      "modified": "2025-11-16 12:58:23",
      "commits": 12
    },
    {
      "source": "box.rmd",
      "filename": "box.html",
      "title": "Get started",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using modules",
        "Attaching modules",
        "Writing modules",
        "Nesting modules",
        "Code execution on loading",
        "Module helper functions"
      ],
      "created": "2021-01-24 00:43:02",
      "modified": "2025-11-24 23:56:07",
      "commits": 17
    },
    {
      "source": "migration.rmd",
      "filename": "migration.html",
      "title": "Migration guide",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "‘modules’ “v1.0” == ‘box’",
        "Importing modules and packages",
        "General syntax",
        "Attaching names",
        "Loading documentation",
        "Executing code during module loading",
        "Changed options",
        "Changed function names",
        "Exporting names from modules",
        "Accessing default packages",
        "Loading parents of nested modules",
        "Displaying documentation",
        "Cyclic imports"
      ],
      "created": "2021-01-24 23:18:03",
      "modified": "2026-04-14 21:02:14",
      "commits": 9
    },
    {
      "source": "mod-envs.rmd",
      "filename": "mod-envs.html",
      "title": "Module environments",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preliminaries",
        "An example",
        "c.r",
        "b.r",
        "a.r",
        "Environments",
        "Module namespace",
        "Module imports environment",
        "Module export environment",
        "Importing into other environments"
      ],
      "created": "2025-11-16 12:58:23",
      "modified": "2025-11-16 12:58:23",
      "commits": 1
    },
    {
      "source": "related.rmd",
      "filename": "related.html",
      "title": "Similar packages",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Tools for writing modular code",
        "Tools for loading code",
        "Tools for organising code"
      ],
      "created": "2021-07-28 22:06:08",
      "modified": "2024-02-06 23:05:19",
      "commits": 7
    },
    {
      "source": "testing.rmd",
      "filename": "testing.html",
      "title": "Testing modules",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Testing is crucial",
        "Support for existing testing frameworks",
        "A note on RStudio and other IDEs",
        "Test interfaces, not implementation details"
      ],
      "created": "2021-03-15 09:10:43",
      "modified": "2022-08-28 15:18:24",
      "commits": 6
    },
    {
      "source": "compiled-code.rmd",
      "filename": "compiled-code.html",
      "title": "Using compiled code",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Current status",
        "Example",
        "Compile code",
        "Loading compiled code",
        "Interacting with compiled code"
      ],
      "created": "2021-01-24 00:43:02",
      "modified": "2022-08-28 15:18:24",
      "commits": 7
    }
  ],
  "_score": 13.039144857480172,
  "_indexed": true,
  "_nocasepkg": "box",
  "_universes": [
    "klmr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:47:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/d39d3dbc3c5ca4d92571e5eff3957cb9a326069d7660b18ac0989514544935f6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:47:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/5c50ae3ab7a35b048c29f46089ad92c121021f7f509638d59463db2cd2a0ca62",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:47:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/15b38ab69ee16cebfa40a03a806017065aa1cd7c72e37897f56de30eeb5d3a54",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:47:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/0190b2118cd855ac4216ef9666a0c10ae875d908c2a0a7720761dce04907007f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:47:02.000Z",
      "arch": "aarch64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/b81039af74909089d2c17883d5c69472da23f4c52ff1f6cc0a8dd91247829b84",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:48:20.000Z",
      "arch": "x86_64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/70a705790821c1e287e8375d6189d3594e9bb23ddfe10b16fa31d2b552596301",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:46:57.000Z",
      "arch": "aarch64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/e604c09739dd30b2d34ecf7adfa9cc637faebe9cfb26a2c0034d2772491a43da",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:48:15.000Z",
      "arch": "x86_64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/53466ba5eee963ca74b5082cf82d2e381f8cf01ccaa116f208bda32ea8c90005",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:48:13.000Z",
      "arch": "emscripten",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/cbd041d5d502f7878db69fd97c66625713520f0dc883c6602d6a9a503fedafb8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:47:12.000Z",
      "arch": "x86_64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/461d44dd7600ae98500c7a95693d09275fd28524f201857739e86dbb8fa1d981",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:46:31.000Z",
      "arch": "x86_64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/8f5dd260bdfb9530534634b07fe27b4c63bb9d8caebf0ecbf7ede6456f6fd14d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.2.9000",
      "date": "2026-07-04T10:46:40.000Z",
      "arch": "x86_64",
      "commit": "4844e20081c8365afa1fe007c0dd5e982c1bddfe",
      "fileid": "https://r2.ropensci.org/760d35ae104d2bca79c012cb6cc9fe068ed8c211417f2525eb16dec362df08ea",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/klmr/actions/runs/28703624921"
    }
  ]
}