{
  "_id": "6af0a3461c36d7c6403e290b",
  "Package": "modules",
  "Title": "Self Contained Units of Source Code",
  "Version": "0.13.0",
  "Authors@R": "person(\"Sebastian\", \"Warnholz\", email = \"wahani@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides modules as an organizational unit for source\ncode. Modules enforce to be more rigorous when defining\ndependencies and have a local search path. They can be used as\na sub unit within packages or in scripts.",
  "BugReports": "https://github.com/wahani/modules/issues",
  "URL": "https://github.com/wahani/modules",
  "ByteCompile": "TRUE",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.2",
  "Collate": "'amodule.R' 'NAMESPACE.R' 'getSearchPath.R' 'class.R'\n'depend.R' 'export.R' 'expose.R' 'extend.R' 'import.R'\n'module-class.R' 'module-coercion.R' 'module-helper.R'\n'module.R' 'use.R' 'testModule.R' 'base-override.R'",
  "VignetteBuilder": "knitr",
  "Repository": "https://wahani.r-universe.dev",
  "Date/Publication": "2024-01-20 15:44:09 UTC",
  "RemoteUrl": "https://github.com/wahani/modules",
  "RemoteRef": "HEAD",
  "RemoteSha": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-08 15:23:19 UTC",
    "User": "root"
  },
  "Author": "Sebastian Warnholz [aut, cre]",
  "Maintainer": "Sebastian Warnholz <wahani@gmail.com>",
  "_user": "wahani",
  "_type": "src",
  "_file": "modules_0.13.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/4e56ecfa167a1ff514775474cdad71404ee5ffad1d4c1d676d4ad01779bb93e4",
  "_filesize": 166626,
  "_sha256": "4e56ecfa167a1ff514775474cdad71404ee5ffad1d4c1d676d4ad01779bb93e4",
  "_expires": "2027-02-16T16:28:52.000Z",
  "_created": "2026-11-08T15:23:19.000Z",
  "_published": "2026-11-08T16:28:53.996Z",
  "_upstream": "https://github.com/wahani/modules",
  "_status": "success",
  "_maintainer": {
    "name": "Sebastian Warnholz",
    "email": "wahani@gmail.com",
    "login": "wahani",
    "description": "",
    "uuid": 3105646
  },
  "_jobs": [
    {
      "job": 128773999198,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13623331242"
    },
    {
      "job": 128773999145,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13623405794"
    },
    {
      "job": 128773999155,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13625211037"
    },
    {
      "job": 128773999161,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13624996458"
    },
    {
      "job": 128773147615,
      "time": 188,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13622463324"
    },
    {
      "job": 128773999091,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13623056078"
    },
    {
      "job": 128773999170,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13623465000"
    },
    {
      "job": 128773999186,
      "time": 87,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13621834969"
    },
    {
      "job": 128773999140,
      "time": 64,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13622599264"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996",
  "_commit": {
    "id": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
    "author": "Sebastian Warnholz <wahani@gmail.com>",
    "committer": "Sebastian Warnholz <wahani@gmail.com>",
    "message": "CRAN submission 0.13.0\n",
    "time": 1705765449
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    }
  ],
  "_owner": "wahani",
  "_selfowned": true,
  "_usedby": 6,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "functional-programming",
    "module"
  ],
  "_stars": 84,
  "_contributors": [
    {
      "user": "wahani",
      "count": 151,
      "uuid": 3105646
    }
  ],
  "_userbio": {
    "uuid": 3105646,
    "type": "user",
    "name": "Sebastian Warnholz",
    "followers": 35
  },
  "_downloads": {
    "count": 3832,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/modules"
  },
  "_devurl": "https://github.com/wahani/modules",
  "_searchresults": 373,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/modules.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/wahani/modules",
  "_realowner": "wahani",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2015-12-19"
    },
    {
      "version": "0.2.0",
      "date": "2016-01-06"
    },
    {
      "version": "0.3.0",
      "date": "2016-02-23"
    },
    {
      "version": "0.4.0",
      "date": "2016-04-07"
    },
    {
      "version": "0.5.0",
      "date": "2016-11-02"
    },
    {
      "version": "0.6.0",
      "date": "2017-07-22"
    },
    {
      "version": "0.7.0",
      "date": "2018-07-15"
    },
    {
      "version": "0.8.0",
      "date": "2019-02-10"
    },
    {
      "version": "0.9.0",
      "date": "2021-01-31"
    },
    {
      "version": "0.10.0",
      "date": "2021-02-07"
    },
    {
      "version": "0.11.0",
      "date": "2023-06-10"
    },
    {
      "version": "0.12.0",
      "date": "2023-08-25"
    },
    {
      "version": "0.13.0",
      "date": "2024-01-21"
    }
  ],
  "_exports": [
    "amodule",
    "as.module",
    "autoTopEncl",
    "depend",
    "export",
    "expose",
    "extend",
    "getSearchPath",
    "getSearchPathContent",
    "getSearchPathDuplicates",
    "getSearchPathNames",
    "import",
    "importDefaultPackages",
    "module",
    "use"
  ],
  "_help": [
    {
      "page": "amodule",
      "title": "Define Augmented and Parameterized Modules",
      "topics": [
        "amodule"
      ]
    },
    {
      "page": "modulecoerce",
      "title": "Coercion for Modules",
      "topics": [
        "as.module",
        "as.module.character",
        "as.module.module"
      ]
    },
    {
      "page": "depend",
      "title": "Declare dependencies of modules",
      "topics": [
        "depend",
        "depend.default"
      ]
    },
    {
      "page": "export",
      "title": "Export mechanism for modules",
      "topics": [
        "export"
      ]
    },
    {
      "page": "expose",
      "title": "Expose module contents",
      "topics": [
        "expose"
      ]
    },
    {
      "page": "extend",
      "title": "Extend existing module definitions",
      "topics": [
        "extend"
      ]
    },
    {
      "page": "utilityFunctions",
      "title": "Get the search path of an environment",
      "topics": [
        "getSearchPath",
        "getSearchPathContent",
        "getSearchPathDuplicates",
        "getSearchPathNames"
      ]
    },
    {
      "page": "import",
      "title": "Import mechanism for modules",
      "topics": [
        "import",
        "importDefaultPackages"
      ]
    },
    {
      "page": "module",
      "title": "Define Modules in R",
      "topics": [
        "autoTopEncl",
        "module"
      ]
    },
    {
      "page": "use",
      "title": "Use a module as dependency",
      "topics": [
        "use"
      ]
    }
  ],
  "_readme": "https://github.com/wahani/modules/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "modulesAsObjects.Rmd",
      "filename": "modulesAsObjects.html",
      "title": "Modules as R Objects",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Modules as first class citizen in R",
        "Nested Modules",
        "Modules as objects",
        "Dependency injection",
        "Modules to model mutable state",
        "Module composition",
        "Unit tests for modules",
        "Modules in Packages"
      ],
      "created": "2018-11-11 19:39:55",
      "modified": "2018-11-24 16:33:28",
      "commits": 2
    },
    {
      "source": "modulesInR.Rmd",
      "filename": "modulesInR.html",
      "title": "Modules in R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Introduction",
        "Scoping of modules",
        "Imports",
        "Importing modules",
        "Exports",
        "Example: Modules as Parallel Process",
        "Related Projects"
      ],
      "created": "2015-11-12 15:45:59",
      "modified": "2022-04-21 07:56:03",
      "commits": 34
    },
    {
      "source": "modulesAsFiles.Rmd",
      "filename": "modulesAsFiles.html",
      "title": "Modules: Organizing R Source Code",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example",
        "Pseudo-code example",
        "Documentation",
        "Best practices"
      ],
      "created": "2018-11-11 19:39:55",
      "modified": "2018-11-26 19:17:51",
      "commits": 2
    }
  ],
  "_score": 9.510777382436064,
  "_indexed": true,
  "_nocasepkg": "modules",
  "_universes": [
    "wahani"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.13.0",
      "date": "2026-11-08T15:25:34.000Z",
      "distro": "resolute",
      "commit": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
      "fileid": "https://r2.ropensci.org/f244b2e3955608dffebb2590d7a009b6fe1a54552f9706f653c110cc34c408dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.13.0",
      "date": "2026-11-08T15:25:19.000Z",
      "distro": "resolute",
      "commit": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
      "fileid": "https://r2.ropensci.org/5bb35b9c8ebdf50b436634c2cc4bfb5bbae6c7db5d7227eb32d7fbbdb4375989",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.13.0",
      "date": "2026-11-08T16:28:15.000Z",
      "commit": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
      "fileid": "https://r2.ropensci.org/a6b1631ab71a5726b8fb4df20de6a3b770386b21445bc9a6d4abd5f69f0fdec0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.13.0",
      "date": "2026-11-08T16:27:55.000Z",
      "commit": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
      "fileid": "https://r2.ropensci.org/8401aa39d8a8c0b7c43e03111d822b3611c4a1fede5d940e432d092849bd5296",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.13.0",
      "date": "2026-11-08T15:25:21.000Z",
      "commit": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
      "fileid": "https://r2.ropensci.org/8b28858474260280e85db33ddb122a7164e8c63931541cd75bf07a78ad127b87",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.13.0",
      "date": "2026-11-08T15:24:26.000Z",
      "commit": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
      "fileid": "https://r2.ropensci.org/a6416a4e68a04d47ef6e70a3d1a46b376f52b10479ab699f016e358f6dc9bc17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.13.0",
      "date": "2026-11-08T15:24:36.000Z",
      "commit": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
      "fileid": "https://r2.ropensci.org/29436e2bc2f4c63f292bf3cf7b80624b079c93cfd61356ee7497305dc8eb51d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.13.0",
      "date": "2026-11-08T15:24:24.000Z",
      "commit": "7578c5b6ef779bfd3e4d5e4da1a47189480ffc63",
      "fileid": "https://r2.ropensci.org/60331a6c5a6509487d6051fdffad8c8bccfe3b5363aff89437de49589443d651",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wahani/actions/runs/42466293996"
    }
  ]
}