compileFunction: Remove the type decorators of a function and add the type...

Description Usage Arguments Value

View source: R/typer.R

Description

See compileTypes() for details on decorators. This is mostly used internally, but can also be used to explicitly implement type checking for a given function.

Usage

1
compileFunction(fun, name = "[function]")

Arguments

fun

[function]
The function to compile.

name

[character(1)]
Name of the function to use in error messages.

Value

[function] The function with removed type decorators and added type checks.


mb706/typer documentation built on May 25, 2019, 9:34 p.m.