Description Usage Arguments Details Value Note
A Syberia engine defines the core re-usable structural unit across different Syberia projects. In the same way that Rails engines provide a modular structure for http://rubyonrails.org/ projects, Syberia engines serve as the re-usable rockbed upon which to construct projects that contain similar components.
1 2 3 | syberia_engine(filepath = getwd(), ..., root. = TRUE)
syberia_project(filepath = getwd(), ..., root. = TRUE)
|
filepath |
character. The root directory of the engine.
If this directory does not define a (relative) |
... |
Additional arguments used internally. |
root. |
logical. Whether or not this is a root-level engine,
by default |
A Syberia engine is managed by a director
object.
This object ensures that the engine cannot access resources outside of
its domain, and allows insularity from other engines and the top-level
project from which the engine will be used.
The director
object responsible for
managing the engine.
The syberia package will maintain an internal cache of engines.
Therefore, calling syberia_engine
twice will retrieve the
cached object. This cache is maintained in the .syberia_env
environment object in the syberia package namespace.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.