moduleInput: Create a 'module' input

Description Usage Arguments Details Value See Also Examples

Description

Create a moduleInput list for use in a module's inputs list

Usage

1

Arguments

name

Input name

vessel

vessel object

format

ioFormat object

Details

vessel cannot be a scriptVessel object, as these are not defined for moduleIO objects.

Value

named moduleInput list containing:

See Also

module

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
internalInput <-
    moduleInput(
        name = "bigData",
        vessel = internalVessel(symbol = "bigData"),
        format = ioFormat("R data frame"))
fileInput <-
    moduleInput(
        name = "scores.csv",
        vessel = fileVessel(ref = "2015-03-13-scores.csv"),
        format = ioFormat("CSV file"))

anhinton/conduit documentation built on May 10, 2019, 11:48 a.m.