Register a resource parser.
register_parser(path, parser = function() { }, overwrite = FALSE, cache = FALSE)
| path | character. The prefix to look for in the director. |
|---|---|
| parser | function. |
| overwrite | logical. If |
| cache | logical. Whether or not to cache resources processed with this
parser. Cached resources will not be re-parsed if their dependencies have
not been modified. This distinction is important, as most resources are
factory resources (the object they generate should not be shared across
the entire project; instead, a copy should be made). The default is |