R/add.R, R/add_additor.R, R/add_archiver.R, and 2 more
add.RdFunctions starting with add_... do add a function to a queue which is
processed by the coresponding run_... command.
add(fun, funname, queue) add_additor(fun) add_archiver(fun) add_extractor(fun) add_pre_processor(fun)
| fun | function which is run when calling |
|---|---|
| funname | name of the function |
| queue | name of queue in |
invisiby the function queue.
invisiby the function queue. A list which is processed
invisiby the function queue. A list which is processed
add_additor: Adding a named function to the queue of additors. If the named function already exists will it be replaced.
add_additor: Adding a named function to the queue of additors. If the named function already exists will it be replaced.
add_archiver: Adding a named function to the queue of additors. If the named function already exists will it be replaced.
add_extractor: Adding a named function to the queue of extractors. If the named function already exists will it be replaced.
add_pre_processor: Adding a named function to the queue of pre-processors. If the named function already exists will it be replaced.
if (FALSE) { ## To add the function `cat` to the `additor` queue add (fun = cat, .queue = "additor") ## To add the function `paste` to the `extractor` queue add (cat, "cat", "extractor") } add_additor( fun = cat ) add_additor( fun = cat ) add_extractor( fun = paste ) add_pre_processor( fun = paste )