parse_custom_functions: Parse functions out of a custom resource.

Description Usage Arguments Value

View source: R/utils.r

Description

Parse functions out of a custom resource.

Usage

1
2
parse_custom_functions(functions, provided_env, type,
  resource_type = "classifier", strict = TRUE)

Arguments

functions

character. The names of functions to parse out.

provided_env

environment. The environment the resource was loaded from.

type

character. The keyword for the resource.

resource_type

character. The type of the resource (e.g., "classifier", "adapter", etc.). This will be used to generate error messages.

strict

logical. Whether or not to error if the functions are not found.

Value

a list containing keys same as the functions argument. and predict functions.


robertzk/syberiaStages documentation built on May 27, 2019, 11:38 a.m.