Description Usage Arguments Details Value See Also
The convention is that model files have the same name as the directory they are contained in (this allows other files in the same directory to be used as helper files). If no such file exists in a directory, all files are assumed to be model files. For example, if we have
1 2 | syberia_models(pattern = "", env = c("dev", "prod"),
root = syberia_root(), by_mtime = TRUE, fixed = FALSE)
|
pattern |
character. A set of characters by which to filter. This uses the same format as the popular ctrl+p plugin for vim. Namely, it will look for adjacent instances of such characters regardless of any interpolating characters. For example, 'ace' will match 'abcde' but also 'abcdfghe' but not 'aebcd'. |
env |
character. The syberia environment (e.g., |
root |
character. The root of the syberia project. The default
is |
by_mtime |
logical. Whether or not to sort the models in descending
order by last modified time. The default is |
fixed |
logical. Whether or not to use smart interpolation, like in
the description for the |
default/en-US/model1.r default/en-US/model2/model2.r default/en-US/model2/helper.r
only the first two will be considered to be model objects. If there was a default/en-US/en-US.r, then the first would no longer be considered a model object (it would be considered a file with helper functions).
a list of filenames containing syberia models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.