Wrap a function name and arguments as an rqdatatable stage.

rq_ufn(source, step, ..., columns_produced = NULL,
  check_result_details = TRUE, use_data_table = TRUE, f_db = NULL,
  temp_name_source = wrapr::mk_tmp_name_source(), env = parent.frame())

Arguments

source

incoming relop pipeline.

step

a wrapr::UnaryFn derived S4 instance.

...

force later arguments to be taken by name.

columns_produced

columns of this node's result.

check_result_details

logical, if TRUE enforce result type and columns.

use_data_table

logical, if TRUE use data.table code path.

f_db

database implementation signature: f_db(db, incoming_table_name, outgoing_table_name, nd, ...) (db being a database handle, can't be a nested rquery pipeline).

temp_name_source

a wrapr::mk_tmp_name_source().

env

environment to work in.

Value

wrapped function