Package: injectoR 0.2.4
injectoR: R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the dependency inversion principle. The user delegates to external code (the injector) the responsibility of providing its dependencies. This separates the responsibilities of use and construction.
Authors:
injectoR_0.2.4.tar.gz
injectoR_0.2.4.zip(r-4.5)injectoR_0.2.4.zip(r-4.4)injectoR_0.2.4.zip(r-4.3)
injectoR_0.2.4.tgz(r-4.4-any)injectoR_0.2.4.tgz(r-4.3-any)
injectoR_0.2.4.tar.gz(r-4.5-noble)injectoR_0.2.4.tar.gz(r-4.4-noble)
injectoR_0.2.4.tgz(r-4.4-emscripten)injectoR_0.2.4.tgz(r-4.3-emscripten)
injectoR.pdf |injectoR.html✨
injectoR/json (API)
# Install 'injectoR' in R: |
install.packages('injectoR', repos = c('https://lev-kuznetsov.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dfci-cccb/injector/issues
Last updated 9 years agofrom:22cd793ec2. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 31 2024 |
R-4.5-win | OK | Oct 31 2024 |
R-4.5-linux | OK | Oct 31 2024 |
R-4.4-win | OK | Oct 31 2024 |
R-4.4-mac | OK | Oct 31 2024 |
R-4.3-win | OK | Oct 31 2024 |
R-4.3-mac | OK | Oct 31 2024 |
Exports:binderdefineinjectmultibindshimsingleton
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Binder factory | binder |
Default scope, bindings are provisioned each time a bean is injected | default |
Creates a key to factory binding | define |
Injects the callback function | inject |
Dependency injection framework | injectoR-package injectoR |
Aggregates multiple factories under one key | multibind |
Shims libraries | shim |
Singleton scope, bindings of this scope are provided once, on initial demand | singleton |