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.

Author
Lev Kuznetsov
Date of publication
2015-11-30 08:17:48
Maintainer
Lev Kuznetsov <levk@jimmy.harvard.edu>
License
LGPL (>= 3)
Version
0.2.4
URLs

View on CRAN

Man pages

binder
Binder factory
default
Default scope, bindings are provisioned each time a bean is...
define
Creates a key to factory binding
inject
Injects the callback function
injectoR
Dependency injection framework
multibind
Aggregates multiple factories under one key
shim
Shims libraries
singleton
Singleton scope, bindings of this scope are provided once, on...

Files in this package

injectoR
injectoR/tests
injectoR/tests/testthat.R
injectoR/tests/testthat
injectoR/tests/testthat/test-injectoR.R
injectoR/NAMESPACE
injectoR/R
injectoR/R/injector.R
injectoR/README.md
injectoR/MD5
injectoR/DESCRIPTION
injectoR/man
injectoR/man/injectoR.Rd
injectoR/man/binder.Rd
injectoR/man/multibind.Rd
injectoR/man/default.Rd
injectoR/man/inject.Rd
injectoR/man/define.Rd
injectoR/man/shim.Rd
injectoR/man/singleton.Rd