script <- make_script("example_script", unity = waiver())
prop <- unifir_prop(
prop_file = waiver(), # Must be a file that exists or waiver()
method_name = NULL, # Auto-generated if NULL or NA
method_type = "ExampleProp", # Length-1 character vector
parameters = list(), # Not validated, usually a list
build = function(script, prop, debug) {},
using = character(0)
)
script <- add_prop(script, prop)
Run the code above in your browser using DataLab