{
  "_id": "6a27c2a824555f66ed53de5f",
  "Package": "box",
  "Title": "Write Reusable, Composable and Modular R Code",
  "Version": "1.2.2",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 07:34:09 UTC",
    "User": "root"
  },
  "Author": "Konrad Rudolph [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9866-7051>), Michael Schubert\n[ctb] (ORCID: <https://orcid.org/0000-0002-6862-5221>)",
  "Maintainer": "Konrad Rudolph <konrad.rudolph@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-10 08:03:08 UTC",
  "RemoteUrl": "https://github.com/cran/box",
  "RemoteRef": "HEAD",
  "RemoteSha": "f4fd8d292784f49109b71afcbae7dff7f0c19edd",
  "MD5sum": "74ed53dec2b7c18e23a1e1ac7221909b",
  "_user": "cran",
  "_type": "src",
  "_file": "box_1.2.2.tar.gz",
  "_fileid": "981d3b15d194e97f7642fa0ac2af95751fae5c510ba5f10d8c089f7cd477177b",
  "_filesize": 312491,
  "_sha256": "981d3b15d194e97f7642fa0ac2af95751fae5c510ba5f10d8c089f7cd477177b",
  "_created": "2026-06-09T07:34:09.000Z",
  "_published": "2026-06-09T07:37:12.949Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80271326816,
      "time": 134,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501331709"
    },
    {
      "job": 80271326805,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501333047"
    },
    {
      "job": 80271326792,
      "time": 128,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501330186"
    },
    {
      "job": 80271326863,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501334357"
    },
    {
      "job": 80270785689,
      "time": 206,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501283840"
    },
    {
      "job": 80271326801,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501323007"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27190931985",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/box",
  "_commit": {
    "id": "f4fd8d292784f49109b71afcbae7dff7f0c19edd",
    "author": "Konrad Rudolph <konrad.rudolph@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.2\n",
    "time": 1775808188
  },
  "_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
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2.1",
      "date": "2025-11-28"
    },
    {
      "name": "1.2.2",
      "date": "2026-04-10"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "klmr",
      "count": 10,
      "uuid": 38931
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 9056,
    "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": 64,
  "_rbuild": "4.6.0",
  "_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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/klmr/box",
  "_realowner": "klmr",
  "_cranurl": false,
  "_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/cran/box/raw/HEAD/man/figures/logo.png",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "contributing.rmd",
      "filename": "contributing.html",
      "title": "Contributing to ‘box’",
      "author": "Konrad Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Development",
        "Building",
        "Branches",
        "Code style"
      ],
      "created": "2024-02-07 02:29:49",
      "modified": "2024-02-07 02:29:49",
      "commits": 1
    },
    {
      "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-09-13 09:30:02",
      "modified": "2025-11-28 14:10:08",
      "commits": 6
    },
    {
      "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-02-12 08:30:03",
      "modified": "2026-04-10 08:03:08",
      "commits": 10
    },
    {
      "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-02-12 08:30:03",
      "modified": "2023-05-02 06:10:02",
      "commits": 7
    },
    {
      "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-28 14:10:08",
      "modified": "2025-11-28 14:10:08",
      "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-09-13 09:30:02",
      "modified": "2026-04-10 08:03:08",
      "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-20 20:10:04",
      "modified": "2023-05-02 06:10:02",
      "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-02-12 08:30:03",
      "modified": "2025-11-28 14:10:08",
      "commits": 6
    }
  ],
  "_score": 7.046417616531633,
  "_indexed": false,
  "_nocasepkg": "box",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://klmr.r-universe.dev/box",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-06-09T07:36:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f4fd8d292784f49109b71afcbae7dff7f0c19edd",
      "fileid": "0fe5b19f09b0338ece5246049a3bc148ea73b0274fffb8498a82d32b80fa0062",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27190931985"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-06-09T07:36:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f4fd8d292784f49109b71afcbae7dff7f0c19edd",
      "fileid": "d77dcf1587fc92118365b985034e9ea229fa1fed199d58334f711fb8df5601c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27190931985"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-06-09T07:36:26.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f4fd8d292784f49109b71afcbae7dff7f0c19edd",
      "fileid": "04a8b1dc613449b9c61dd2587d15cfb3d8e0883fdf0641999d621ddfca9377b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27190931985"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-06-09T07:36:32.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f4fd8d292784f49109b71afcbae7dff7f0c19edd",
      "fileid": "04deb10bfcc2ded2480f5aef71386be9d21070a929cfde049a4f07617214881b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27190931985"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-06-09T07:36:18.000Z",
      "arch": "emscripten",
      "commit": "f4fd8d292784f49109b71afcbae7dff7f0c19edd",
      "fileid": "edf8f35b984065241e45ab92fb60ee5d94ae71c3e8e0ad81eb6a0c9483f46409",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27190931985"
    }
  ]
}