Static file router
Static file router
plumber::Hookable -> plumber::Plumber -> PlumberStatic
new()Create a new PlumberStatic router
PlumberStatic$new(direc, options)
direca path to an asset directory.
optionsoptions to be evaluated in the PlumberStatic router environment
A new PlumberStatic router
print()Print representation of PlumberStatic() router.
PlumberStatic$print(prefix = "", topLevel = TRUE, ...)
prefixa character string. Prefix to append to representation.
topLevela logical value. When method executed on top level
router, set to TRUE.
...additional arguments for recursive calls
A terminal friendly representation of a PlumberStatic() router.
clone()The objects of this class are cloneable with this method.
PlumberStatic$clone(deep = FALSE)
deepWhether to make a deep clone.
Creates a router that is backed by a directory of files on disk.