Loaders are responsible for exposing templates to the templating engine.
path_loader()
loads templates from a directory in the file system.
package_loader()
loads templates from a directory in an R package.
list_loader()
loads templates from a named list.
Arguments
- ...
Strings specifying path components.
- package
Name of the package in which to search.
- x
Named list mapping template names to template sources.
See also
The loader is an argument to jinjar_config()
.